GregorTacTac@lemm.ee to Programmer Humor@programming.dev · 7 个月前Average CSSlemm.eeimagemessage-square86fedilinkarrow-up1564arrow-down119file-textcross-posted to: programmerhumor@lemmy.mlprogramming_horror@programming.dev
arrow-up1545arrow-down1imageAverage CSSlemm.eeGregorTacTac@lemm.ee to Programmer Humor@programming.dev · 7 个月前message-square86fedilinkfile-textcross-posted to: programmerhumor@lemmy.mlprogramming_horror@programming.dev
minus-squarecalcopiritus@lemmy.worldlinkfedilinkarrow-up6·7 个月前Aren’t classes in CSS supposed to represent visual styles? What else could they be for?
minus-squareMesa@programming.devlinkfedilinkarrow-up21·7 个月前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
Aren’t classes in CSS supposed to represent visual styles? What else could they be for?
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
Oh, that makes sense.