3 ms·
Yeah 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?
by nnash 13y ago
Yeah 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