3 ms·
I love Sass, but CSS preprocessing is not a solved problem, and I can see how this helps if you're using Yandex' BEM principle. Sass and Stylus both have featu
by jacobr 14y ago
I love Sass, but CSS preprocessing is not a solved problem, and I can see how this helps if you're using Yandex' BEM principle.
Sass and Stylus both have feature the other one is lacking, and Less has the feature of being able to run in the browser during development.
Maybe we need a CSS preprocessor with regular CSS as a starting point, but with syntactic macros or something.
- lvivski 14y agoBOSS already has regular CSS as a starting point. If you give regular CSS to it's input you get this css in output (with some indentation changes 'caused by parsing process) Then you can use syntactic sugar: variables, declaration mixins, nesting, arithmetic (with type coercion, by the way)