lance.Software Developer & Designer
← All Ramblings

Jan 1, 2026 / CSS

I Was Wrong About Tailwind CSS.

How I went from "this is just inline styles with extra steps" to actually enjoying utility-first CSS.

For a long time, my reaction to Tailwind CSS was the exact same reaction every CSS purist has the first time they see it: "Congratulations, you reinvented style="" attributes and somehow made them uglier."

I liked my semantic class names. I liked my tidy stylesheets. I took pride in naming things .project-card-header-inner and pretending I would definitely remember what .wrapper-alt-2 did six months later.

And then I actually had to build and maintain a few real apps with it. Turns out, I was wrong.

What finally clicked

The mental shift isn't about hating CSS—it's about admitting that naming things and keeping a growing stylesheet consistent is the hard part, not writing display: flex.

In a traditional stylesheet, every new feature tends to add new CSS. You're scared to delete old rules because you aren't 100% sure what page still uses .panel-subhead-compact, so the file just quietly swells forever.

With Tailwind, you stop inventing one-off class names for layout glue and reach for a shared scale instead:

<!-- Before: guessing whether .card-meta uses 12px or 16px -->
<div class="card-meta">
  <span class="card-badge">CSS</span>
  <span class="card-date">Jan 2026</span>
</div>

<!-- After: the spacing, layout, and typography live right where you can see them -->
<div class="flex items-center gap-3 text-xs font-semibold tracking-wider uppercase text-zinc-500">
  <span class="px-2 py-0.5 bg-zinc-900 text-white">CSS</span>
  <time>Jan 2026</time>
</div>

Yes, the class attribute is longer. No, I don't miss jumping between three files to figure out why a div has 14px of mystery padding.

What I actually like about it now

  • Your CSS stops growing. Once the utility classes are generated, adding a new page doesn't mean shipping another 200 lines of custom selectors.
  • No more dead-CSS paranoia. Delete a component or a section, and its styles vanish with it.
  • Consistent spacing and color scales by default. Instead of someone eyeballing margin-top: 13px in one file and 15px in another, everyone pulls from the same gap-3 / gap-4 rhythm.
  • Responsive and state variants are painless. Writing md:grid-cols-3 or hover:translate-x-2 inline beats scrolling down 300 lines to find the @media query at the bottom of a stylesheet.

The catch: you still need to know CSS

Tailwind doesn't replace knowing CSS—it actually rewards knowing it well. If you don't understand flexbox, grid, specificity, or stacking contexts, Tailwind just lets you write confused CSS faster.

And it's not all-or-nothing. For small, editorial static sites, a single clean style.css file can still feel lighter and simpler. But for larger apps, dashboards, and component libraries where five people are shipping UI at once? Tailwind earned its spot in my toolkit—even if past-me would be furious to hear it.