Open this example in the interactive library
Source code
<div class="demo group">
Hover the panel <span class="tile group-hover:bg-teal-200">Child</span>
</div>
Change a child when hovering its parent with Tailwind CSS 4 utilities. The preview uses precompiled styles.
Open this example in the interactive library
<div class="demo group">
Hover the panel <span class="tile group-hover:bg-teal-200">Child</span>
</div>