Open this example in the interactive library
Source code
<div class="demo flow-root [&_.tile]:[float:inline-start]">
<span class="tile">Contained float</span>
</div>
Contain a float with flow-root with Tailwind CSS 4 utilities. The preview uses precompiled styles.
Open this example in the interactive library
<div class="demo flow-root [&_.tile]:[float:inline-start]">
<span class="tile">Contained float</span>
</div>