3 ms·
Why most people like sass over less?
by camus 13y ago
Why most people like sass over less?
- drinchev 13y agoSass supports nested media queries and custom functions. It has extensions like compass, which creates cross-browser supported css with ease. I was used to do everything with LESS two years ago, but recently I needed to switch for SASS, because of that.
- jwarren 13y agoThe language has more powerful functions available, or at least it did when I first compared them. I also find Compass, Bourbon and Susy to be great assets. The Chrome dev tools support is outstanding. The biggest drawback is that there's no client side evaluation like less.js. This occasionally makes working with other people a bit tricky. I usually make a sandbox.css for them to fiddle with, and then incorporate their changes every so often.
- ceejayoz 13y ago> The biggest drawback is that there's no client side evaluation like less.js. I've seen less.js make its way into live sites enough times that this almost counts as a positive for Sass for me.
- program247365 13y agoFor designers, just including a JS file that does the compiling on the fly seems why LESS gets more love from that group. And also that Twitter Bootstrap uses it as default (although there are SASS ports of Bootstrap). For beginners/designers to the whole precompiling CSS scene, setting up Ruby for the SASS/Compass toolchain could possibly be daunting. Although there are nice GUI alternatives: http://mac.appstorm.net/roundups/internet-roundup/5-mac-apps-that-make-css-preprocessors-easier-to-use/ http://mac.appstorm.net/roundups/internet-roundup/5-mac-apps... However I agree with other comments that it seems there are more tools/frameworks built on SASS (with Compass), that make it more appealing to me.
- mokkol 13y agoLess is not always better ;-)
- tiredoffps 13y agoSASS can also take a bunch of PNGs and auto generate a sprite map and it's CSS.
- smackjer 13y agoSass can't do that, but the Compass framework (built on Sass) has sprite generation.
- robotmay 13y agoI use it primarily because I like the tab-indented syntax. I seem to be in the minority with that, but I've never liked CSS syntax.
- psychometry 13y agoIt's the default in Rails, which gives it a large built-in userbase.