Open this example in the interactive library
Source code
<span class="demo pointer-events-none" aria-hidden="true"
>Overlay decoration</span
>
Prevent pointer events on a decorative layer with Tailwind CSS 4 utilities. The preview uses precompiled styles.
Open this example in the interactive library
<span class="demo pointer-events-none" aria-hidden="true"
>Overlay decoration</span
>