Those Are NOT “Utility Classes” — Even More Failwind Stupidity!

Jason Knight
CodeX
Published in
9 min readMar 10, 2022

--

The term “utility classes” has been adopted by Tailwind and many others; much akin to their “it’s not a framework” bullcookies. All we have is another bit of marketing sleaze to shove one’s head in the ground over your sins of ignorance and incompetence. Another stunning example of “web development tools” where the only real tools are the people promoting and creating these bloated inane train wrecks laundry lists of how NOT to use web technologies.

Multitools Don’t Beat Real Tools

They are not “utility”, they are PRESENTATIONAL, and presentation has ZERO business in your HTML if it can be avoided. When I say code like this:

<div class="text-slate-600 text-lg text-center">

Has all the same failings as:

<center><font color="#" size="+1">

I’m actually being polite. The outdated outmoded 1990’s markup is less code and easier to digest.

I have written about this at great length, but still people keep asking for more clarification of WHY it’s wrong and “stupid”.

So What’s Wrong With Saying Appearance In The HTML?

HTML isn’t for saying what things look like, because HTML is for EVERYONE including the non-sighted. That’s part and parcel of why HTML even has semantic…

--

--

Jason Knight
CodeX

Accessibility and Efficiency Consultant, Web Developer, Musician, and just general pain in the arse