Open this example in the interactive library
Source code
<div class="demo [&_.tile]:rotate-y-180 [&_.tile]:backface-hidden">
The rotated child is hidden: <span class="tile">Back face</span>
</div>
Hide the back face of a card with Tailwind CSS 4 utilities. The preview uses precompiled styles.
Open this example in the interactive library
<div class="demo [&_.tile]:rotate-y-180 [&_.tile]:backface-hidden">
The rotated child is hidden: <span class="tile">Back face</span>
</div>