Open this example in the interactive library
Source code
<div class="demo shadow-[0_2px_3px_#0f172a35,0_10px_20px_#0f172a22]">
Stack two box shadows
</div>
Stack two box shadows with Tailwind CSS 4 utilities. The preview uses precompiled styles.
Open this example in the interactive library
<div class="demo shadow-[0_2px_3px_#0f172a35,0_10px_20px_#0f172a22]">
Stack two box shadows
</div>