413
submitted 1 day ago* (last edited 1 day ago) by Pro@programming.dev to c/programmer_humor@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] RushLana@lemmy.blahaj.zone 32 points 1 day ago

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.

[-] Lysergid@lemmy.ml 1 points 13 hours ago* (last edited 13 hours ago)

Don’t know about tailwind but I used styled-components and not going back to vanilla css. CSS seems to be designed to be used with HTML, which did make sense back when it was created. Modern web is 99% JS and components composition which does not work well with Vanilla CSS in terms of class name uniqueness, specificity. Also it easy to dumb shit with CSS, like, I worked in the project where we had a lot of legacy global CSS. We had like dozen CSS styles which were adding margin to , and so on. I mean no classes, just globally. I’ve been forced to add ‘all: unset’ to basically all my new components just to avoid changing global styles and breaking something else. Do not recommend.

[-] RushLana@lemmy.blahaj.zone 1 points 3 hours ago

I tend to build stuff with html css and php only ( all vanilla) and avoid non trivial js like the plague. I can see your point but for me replacing HTML with js is just wastefull, you leave performance and built in accessibility on the table for a slightly more convenient experience that don't work for me.

load more comments (14 replies)
this post was submitted on 30 Jun 2025
413 points (97.9% liked)

Programmer Humor

24650 readers
955 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