this post was submitted on 30 Jun 2025
422 points (98.0% liked)

Programmer Humor

24736 readers
1732 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] RushLana@lemmy.blahaj.zone 34 points 4 days ago (17 children)

Genuine question : what's wrong with modern vanilla CSS3 ?

Maybe it's because I've used css2 I don't see the point of css frameworks.

[–] ClassifiedPancake@discuss.tchncs.de 14 points 4 days ago (4 children)

It helps to avoid the specificity problem. You don’t have to manage a complicated class system, you just set styles directly on the elements. Yes this is pretty much what everyone agreed in the past was the worst thing to do but that was before things like CSS variables existed (which Tailwind uses excessively) that lets you control details like color and fonts from a single point. So you don’t have to go through every component to change the brand color.

At work we don’t use Tailwind often but in our React apps we mostly use Theme-UI which lets us write regular CSS on each element in a nice JSON format instead of the class name hell that is Tailwind. This is my preferred way.

[–] MonkderVierte@lemmy.zip 2 points 4 days ago (1 children)

Why Tailwind if you have CSS variables?

[–] 0x01@lemmy.ml 4 points 4 days ago

Tailwind uses css variables, it's really nothing more than a bunch of helper classes on top of css, it's not a replacement or anything.

load more comments (2 replies)
load more comments (14 replies)