2014-06-15

CSS Preprocessing

http://thesassway.com/editorial/sass-vs-scss-which-syntax-is-better

http://blog.millermedeiros.com/the-problem-with-css-pre-processors/

http://dev.w3.org/csswg/css-variables/

Looking into CSS preprocessors, I can think of a few good ways to use them - right at the top of the file, where you want the same values applied to multiple properties, for example. But as soon as you want the same property-value pair applied to multiple elemental selections, you should really be using CSS selectors as they were meant to be used, and not using "mixins" to deliver redundant property-selector pairs throughout the CSS file. Of course you can, but that's just bad CSS.

CSS transition dark:hover magic again... when you can get something cool to happen on:hover, with an unfortunate side-effect, which you then hide by adding negating properties to the :hover -_-

No comments :

Post a Comment