Open this example in the interactive library
Source code
<div
class="demo border-[5px] border-dashed border-[#547089] bg-[#bae6fd] bg-clip-padding"
>
Show a background only inside padding
</div>
Show a background only inside padding with Tailwind CSS 4 utilities. The preview uses precompiled styles.
Open this example in the interactive library
<div
class="demo border-[5px] border-dashed border-[#547089] bg-[#bae6fd] bg-clip-padding"
>
Show a background only inside padding
</div>