Browser support tables — check before you code and save yourself rework
Tailwind CSS
The utility-first CSS framework — its docs are a design-system textbook in themselves
Content updated · 2026-09-07
What is it · 它是什么
What is Tailwind CSS?
Tailwind CSS is the defining utility-first CSS framework: instead of writing traditional classes, you compose interfaces from utility classes (flex, pt-4, text-slate-500) directly in your HTML. The official docs are a selling point of their own — every utility documented with examples, blazing search, and the built-in spacing/color scales double as a design-system textbook.
How to use · 怎么用
How to use Tailwind CSS
- Start with the installation guide for your framework.
- Then treat the site as a dictionary: want an effect, search the class.
- Theme customization — brand colors, fonts, radii — is configured in one place and applies everywhere.
- Components from the official paid library (Tailwind Plus) also work as layout references.
- Long class strings feel odd at first; finish one full page and the efficiency clicks.
Key features · 核心特点
Key features of Tailwind CSS
- Compose styles in markup — no naming classes, no file-hopping
- Built-in design constraints (systematic spacing, colors, and type sizes) keep hard-coded one-off values out
- High-quality documentation where search just works
- The core framework is free and open source, with an optional official paid component library
Related sites
A color palette generator — press one key, get a full scheme
A free web font library for both CJK and Latin typefaces