544
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 5 months ago

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

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

Oh, that makes sense.

this post was submitted on 07 Jul 2024
544 points (100.0% liked)

Programmer Humor

19821 readers
141 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