3 ms·
And I recommend SCSS (http://sass-lang.com/ http://sass-lang.com/ instead. It solves many problems you can come across when dealing with CSS and in much more el
by rimantas 15y ago
And I recommend SCSS (http://sass-lang.com/ http://sass-lang.com/ instead. It solves many problems you can come across when dealing with CSS and in much more elegant way.
E.g. rules reuse in SCSS can be done with @extend: http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#extend http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#ex... That way instead of adding classes to your HTML you just group selectors in your CSS appropriately.
Seriously, if you do CSS and did not try SCSS do it now.