Open this example in the interactive library
Source code
<div
class="demo flex items-center gap-2 after:content-[''] after:h-px after:flex-1 after:bg-slate-500"
>
Draw a decorative trailing line
</div>
Draw a decorative trailing line with Tailwind CSS 4 utilities. The preview uses precompiled styles.
Open this example in the interactive library
<div
class="demo flex items-center gap-2 after:content-[''] after:h-px after:flex-1 after:bg-slate-500"
>
Draw a decorative trailing line
</div>