In short
Use Tailwind if you're building an app with a team and want fast, consistent styling, with design limits built in, particularly when using components. Use plain CSS for simple sites, long-lived projects with few dependencies, or when you want clean HTML and full use of modern CSS. Both produce small, fast sites when done well. Consistency and tokens matter more than this choice.
The same button, both ways
Tailwind styles elements with utility classes in your HTML:
<button class="rounded-md bg-teal-700 px-4 py-2 font-semibold text-white hover:bg-teal-800 focus-visible:outline-2">
Save
</button>
Plain CSS uses a separate class, with its own rules:
<button class="button">Save</button>
.button {
background: var(--color-primary);
color: white;
padding: var(--space-2) var(--space-4);
border-radius: var(--radius-md);
font-weight: 600;
}
.button:hover { background: var(--color-primary-dark); }
.button:focus-visible { outline: 2px solid currentColor; }
Neither is automatically “cleaner”. One keeps styles next to the markup, and the other keeps them separate.
Comparison
| Tailwind | Plain CSS | |
|---|---|---|
| Setup | A build step, in most projects | None |
| Speed of writing | Fast, once learned | Depends on experience |
| Consistency | Built-in scale | Requires tokens and discipline |
| HTML | Long class lists | Short and readable |
| Naming | Not needed for most things | You need a naming approach |
| Unused CSS | Removed automatically | Can build up over time |
| Dependencies | One more to maintain | None |
| Knowledge | Framework, plus CSS | CSS |
| Complex selectors and animation | Possible but less neat | Natural |
Why people like Tailwind

- No switching files, and no time spent naming things
- Design constraints. A shared scale nudges people towards consistent spacing and colour.
- Styles are safe to change. Delete a component, and its styles go with it. You don't have to wonder whether something else relies on them.
- Small CSS files, as only the classes you use are generated.
- Works well with components, where the repetition lives inside one file.
- Popular. Many libraries and templates use it, including shadcn/ui.
Why people like plain CSS
- No build step or dependency, which means less to break, particularly on a site that'll live for ten years
- Clean, readable HTML
- Full power. All selectors, layers, animations and features, with no translation needed
- Portable skills. It's what browsers really run, so what you learn lasts. See the state of CSS in 2026.
- Global design changes can often be made in one place
- Easier with a CMS, where you can't always add classes to content
See how to write CSS that doesn't fight you.
Modern CSS has changed the argument
Many of the reasons for adopting CSS tools in the past have gone away, with features that now work in current browsers:
- Custom properties, for tokens. See how to set up design tokens in code.
- Nesting, without Sass
- Cascade layers (
@layer), which tame specificity - Container queries, for components that respond to their space
:has()for parent selectioncolor-mix()andlight-dark()for colour systems. See how to add dark mode with CSS variables.- Grid and flexbox. See CSS grid or flexbox.
With these, a small team can write maintainable CSS with no framework. That doesn't make Tailwind obsolete, as Tailwind builds on many of these too, including its use of CSS variables in recent versions. But “CSS doesn't scale” is less true than it was.
Performance
Neither one has a clear advantage if you use it properly. Tailwind generates only what you use, keeping files small, and class names in HTML compress well. Plain CSS can be very small on a simple site, and it can also bloat if nobody removes old rules. Your images and JavaScript will almost always matter more. See a complete guide to web performance.
Team and long-term concerns
Tailwind is easier for mixed teams in one way: everyone uses the same scale and patterns, and there's less scope for clever, conflicting CSS.
Plain CSS needs a system. Without tokens and agreed conventions, it tends to decay into overrides and !important. See what CSS-in-JS is for another approach to the same problem.
Long class lists can become hard to read. Extract repeated patterns into components, not long strings copied everywhere. Don't overuse @apply, as this recreates the problem it was meant to solve.
Upgrades: Tailwind's major versions sometimes require migration work. Plain CSS doesn't really have versions.
Accessibility is your job in both. Neither gives you focus states or contrast automatically. See focus states that actually work.
With AI tools
AI coding tools tend to generate Tailwind by default, partly because it's so common in their training material, and because styles sit next to markup, which suits generated code. This has real advantages. But it also explains the default look of many AI-built sites. See why vibe-coded apps look the same.
Whichever you use, tell your agent the rules: “Use only these tokens”, or “Use the classes in tokens.css. No inline colours”. See how to write an AGENTS.md file. Check that it hasn't invented values, such as arbitrary sizes.
How to choose
| Your project | Lean towards |
|---|---|
| Component-based app, with a team | Tailwind |
| Fast prototype | Tailwind |
| Using shadcn/ui, or similar | Tailwind |
| Simple marketing or brochure site | Plain CSS |
| Static site, no build step | Plain CSS |
| WordPress or CMS theme with editors' content | Plain CSS, or a mix |
| Project that must last with minimal upkeep | Plain CSS |
| Team already fluent in one | That one |
If you've been using a framework like Bootstrap, see Tailwind vs Bootstrap.
You can mix them
It's fine to use Tailwind for layouts and components, with plain CSS for complicated animation or long-form content styles. Use @layer to keep them under control, and write down which goes where.
The thing that matters more
Whichever you pick, the quality of your CSS depends on a clear design system: a small number of colours, a defined type scale, a spacing scale and consistent components. A messy plain-CSS project and a messy Tailwind project are equally painful. Don't rewrite a working project merely to switch. See the real cost of technical debt.
If you'd like help setting up a front end that stays maintainable, book a call.
Common questions
Is Tailwind better than plain CSS?
Neither is better overall. Tailwind suits component-based apps and teams that want consistency and speed. Plain CSS suits simple sites, and projects that value no build step and few dependencies. Both can produce fast, maintainable sites when used with clear rules.
Do I still need Tailwind with modern CSS?
Not necessarily. Custom properties, nesting, layers and container queries solve many old problems. Tailwind still offers speed, built-in constraints and easy removal of unused styles. It's now a preference and team decision, rather than a necessity.
Is Tailwind bad for performance?
No. It generates only the classes you use, so the CSS is usually small, and repeated class names compress well. Long class lists do make your HTML larger, but images and JavaScript usually matter far more to page speed.
Should beginners learn Tailwind or CSS first?
Learn CSS first. Tailwind's classes map onto CSS properties, so knowing the box model, flexbox, grid and the cascade makes you effective with either. Without that, you'll struggle to debug layouts, or to fix what an AI tool generates.