Problem: Wrapped tags.
Solution#
<div class="flex flex-wrap gap-2">
<a class="rounded-md bg-slate-100 px-2.5 py-1 text-xs hover:bg-slate-200">#css</a>
</div>Why this works#
flex-wrap + uniform chips.
Variants#
- Responsive: add screen prefixes to the core classes
- Dark: pair each color utility with its dark: twin
- Animated: add
transition+ a state variant for motion
Related recipes#
cookbook/index|Cookbook index · utilities/index|Utilities reference · patterns/index|Layout patterns
