tailwind
Installation
SKILL.md
Tailwind CSS Expert
Expert Tailwind CSS patterns for building modern, responsive interfaces.
Core Principles
- Utility-first: Compose designs directly in markup using utility classes
- Responsive by default: Mobile-first with
sm:,md:,lg:,xl:,2xl:prefixes - Consistent spacing: Use the spacing scale (4, 8, 12, 16, 20, 24, 32, 40, 48, 64)
- Design tokens: Leverage the default theme or extend it consistently
Common Patterns
Layout
<!-- Flexbox centering -->
<div class="flex items-center justify-center">