Open this example in the interactive library
Source code
<div class="demo grid grid-cols-3 gap-2 [&>:first-child]:col-span-2">
<span class="tile">One</span><span class="tile">Two</span
><span class="tile">Three</span>
</div>
Span two columns with one item with Tailwind CSS 4 utilities. The preview uses precompiled styles.
Open this example in the interactive library
<div class="demo grid grid-cols-3 gap-2 [&>:first-child]:col-span-2">
<span class="tile">One</span><span class="tile">Two</span
><span class="tile">Three</span>
</div>