Re:My intro to LESS - If you're not using it, you should be.
by nathos on Monday September 03, 2012 @02:15AM
(#4469297)
@extend is one of the killer features of Sass that other preprocessors don't have: http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html#ex...
It's true selector inheritance that will change the way you author styles.
Re:My intro to LESS - If you're not using it, you should be.
by egypturnash on Monday September 03, 2012 @12:46PM
(#4470968)
Ooh, I can see that being useful. As opposed to features like "you can do loops!" which kinda makes me go "why would I ever want to?".
Re:My intro to LESS - If you're not using it, you should be.
by dsego on Monday September 03, 2012 @03:07AM
(#4469415)
I started with Less a month ago (because it's used by bootstrap); I was so disappointed to find you could only "inherit" from mixins and classes. Just seems like a reasonable next step to include inheritance from any other selector.
I'm never going to write raw CSS again.
I grabbed CodeKit, so I might try SASS the next time I'm building something on the web. I haven't really seen anything in the SASS vs. LESS shootouts that makes me go "dang I wish I could do that"; my CSS is relatively straightforward. Just having named colors, a couple color mixing functions, mixins, and nested syntax helped a LOT.