381
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
[-] calcopiritus@lemmy.world 6 points 4 months ago

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

[-] Mesa@programming.dev 21 points 4 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 4 months ago

Oh, that makes sense.

this post was submitted on 07 Jul 2024
381 points (97.3% liked)

Programmer Humor

19480 readers
547 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