548
Average CSS (lemm.ee)

I am not allowed to credit the site that has this disaster. Its owner said "Nobody should see that"

you are viewing a single comment's thread
view the rest of the comments
[-] drathvedro@lemm.ee 19 points 2 months ago

I'm appalled that classes representing visual styles are still a thing. I thought everyone already figured that it was a bad idea back in bootstrap days. But then I recently had an opportunity to work on project that uses Vuetify and saw quite long poems about flexboxes in class names...

[-] calcopiritus@lemmy.world 6 points 2 months ago

Aren't classes in CSS supposed to represent visual styles? What else could they be for?

[-] Mesa@programming.dev 21 points 2 months ago

Pretty sure they're referring to class names describing the visual style being applied, rather than what that class represents semantically.

E.g. .red-bold vs. .error-text

[-] calcopiritus@lemmy.world 7 points 2 months ago

Oh, that makes sense.

load more comments (10 replies)
this post was submitted on 07 Jul 2024
548 points (96.8% liked)

Programmer Humor

19166 readers
575 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 1 year ago
MODERATORS