Open this example in the interactive library
Source code
<div
class="demo outline outline-dashed outline-slate-400 -outline-offset-8 p-6 border border-slate-600"
>
Keep all text inside the trim guide.
</div>
Proof margin inset with Tailwind CSS 4 utilities. The preview uses precompiled styles.
Open this example in the interactive library
<div
class="demo outline outline-dashed outline-slate-400 -outline-offset-8 p-6 border border-slate-600"
>
Keep all text inside the trim guide.
</div>