Open this example in the interactive library
Source code
<style>
.demo .tile:nth-child(2) {
display: none;
}
</style>
<div class="demo">
<span class="tile">One</span><span class="tile">Two</span
><span class="tile">Three</span>
</div>
Remove a spacer from the layout entirely with native CSS. The preview includes a small shared demo stylesheet.
Open this example in the interactive library
<style>
.demo .tile:nth-child(2) {
display: none;
}
</style>
<div class="demo">
<span class="tile">One</span><span class="tile">Two</span
><span class="tile">Three</span>
</div>