Open this example in the interactive library
Source code
<div class="demo flex items-baseline gap-2 [&>:first-child]:text-[2rem]">
<span class="tile">One</span><span class="tile">Two</span
><span class="tile">Three</span>
</div>
Align text on its baseline with Tailwind CSS 4 utilities. The preview uses precompiled styles.
Open this example in the interactive library
<div class="demo flex items-baseline gap-2 [&>:first-child]:text-[2rem]">
<span class="tile">One</span><span class="tile">Two</span
><span class="tile">Three</span>
</div>