Re:Reasonable System for CSS Stylesheet Structure
by Raphmedia on Tuesday November 03, 2015 @11:31AM
(#10500615)
But that would require you to modify the markup.
It would also stops you from having general styles declarations.
You couldn't do .button{color:red;border: 1px solid white;} and then .box>.button{width:100%;} unless you make your markup <span class="button pricebox--box__button"> and that would be pretty ugly, wouldn't it?
It would also stops you from having general styles declarations.
You couldn't do .button{color:red;border: 1px solid white;} and then .box>.button{width:100%;} unless you make your markup <span class="button pricebox--box__button"> and that would be pretty ugly, wouldn't it?
Correct me if I am wrong.