3 ms·
I wouldn't call writing "ui large red labeled icon button" in HTML semantic anything. I'd called it confusing orgy of style and content.
by donpark 13y ago
I wouldn't call writing "ui large red labeled icon button" in HTML semantic anything. I'd called it confusing orgy of style and content.
- hablahaha 13y agoI agree. First of all, why is a ui class necessary? Second, what's large? The icon, the button, the label? All of it? What's red, the icon or the button? Certainly not both. There's a reason we have classes like "btn btn-small icon-* icon-2x". A large icon in a small button. I think those names are more 'semantic'.
- jonny_eh 13y agoI assume the ui class is there for namespacing, which I think is a good idea.
- derefr 13y agoI don't see any content; those are all stylistic properties.
- nnash 13y agoYeah that one was too specific for my liking I don't think you should use colors names like 'red' as a class. What if you decide you don't want it to be red?
- lowboy 13y agoRemove the "red" class from the element? I used to eschew any and all presentational classes, but it makes development quicker for me to use them occasionally, esp with css frameworks.
- superluminary 13y agoUse a SASS mixin instead? @include red;
- nnash 13y agoI guess my point was you'd have to refactor your html and css as well as the property itself