Open this example in the interactive library
Source code
<div class="demo columns-2 [&_h3]:[column-span:all]">
<h3>Full-width headline</h3>
<p>Column content here.</p>
<p>More column content follows.</p>
</div>
Span a headline across text columns with Tailwind CSS 4 utilities. The preview uses precompiled styles.
Open this example in the interactive library
<div class="demo columns-2 [&_h3]:[column-span:all]">
<h3>Full-width headline</h3>
<p>Column content here.</p>
<p>More column content follows.</p>
</div>