Open this example in the interactive library
Source code
<div class="demo outline-2 outline-blue-700 outline-offset-3">
Draw an outline outside the border
</div>
Draw an outline outside the border with Tailwind CSS 4 utilities. The preview uses precompiled styles.
Open this example in the interactive library
<div class="demo outline-2 outline-blue-700 outline-offset-3">
Draw an outline outside the border
</div>