Open this example in the interactive library
Source code
<div class="demo shadow-[inset_0_2px_8px_#0f172a40]">
Apply an inset box shadow
</div>
Apply an inset box shadow with Tailwind CSS 4 utilities. The preview uses precompiled styles.
Open this example in the interactive library
<div class="demo shadow-[inset_0_2px_8px_#0f172a40]">
Apply an inset box shadow
</div>