Learn Tailwind CSS
Utility-first CSS framework: style by composing small classes in your markup
Tailwind CSS provides thousands of small single-purpose classes such as flex, pt-4 and text-center that you combine directly in HTML or components. Version 4 is configured in CSS with @theme, builds on native cascade layers and CSS variables, and detects the classes you use automatically. It's one of the most popular ways to style React, Vue, Svelte and server-rendered apps quickly and consistently.
Before you start
How deep do you want to go?
1. EssentialsRead and write simple code, do the everyday basics
2. PracticalUse it productively at work, with the usual idioms
3. AdvancedThe less common features, performance and trade-offs
4. ExpertInternals and the edge cases experts know