Open this example in the interactive library
Source code
<div class="demo [&>*+*]:[margin-block-start:.75rem]">
<div class="tile">First line</div>
<div class="tile">Second line</div>
</div>
Use two-line spacing with logical margins with Tailwind CSS 4 utilities. The preview uses precompiled styles.
Open this example in the interactive library
<div class="demo [&>*+*]:[margin-block-start:.75rem]">
<div class="tile">First line</div>
<div class="tile">Second line</div>
</div>