Re:Semantic UI – A language for sharing UI
by nnash on Friday September 13, 2013 @01:10PM
(#6381722)
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?
[ Parent
| on HN ]
Re:Semantic UI – A language for sharing UI
by lowboy on Friday September 13, 2013 @01:39PM
(#6381895)
Remove 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.
Re:Semantic UI – A language for sharing UI
by nnash on Saturday September 14, 2013 @06:51PM
(#6387372)
I guess my point was you'd have to refactor your html and css as well as the property itself
Re:Semantic UI – A language for sharing UI
by superluminary on Friday September 13, 2013 @02:54PM
(#6382383)
Use a SASS mixin instead? @include red;