|
|
|
|
|
by klum
2411 days ago
|
|
> God I miss it. I miss the goal of just cleanly naming things what they are, not how they look. I think utility-first CSS has its benefits as well as it's drawbacks, but just regarding the statement above: wouldn't you say that when naming things for the purpose of targeting them with styling, what they look like is indeed what they are? As in, referring to, for example, ".comment" and ".testimonial" in your CSS, when those classes have been added purely for the purpose of styling the elements as what is commonly called a media component, could be considered less semantic than just naming them according to how they look -- as that's the reason for naming them in this case? (I think these are two different ways of looking at the issue, none of which is clearly the right or wrong one.) |
|
What do you mean? A "comment" is likely to stay a "comment" forever, whereas its bold'ness or italic'ness can/will likely change relatively often.