-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Sass, LESS or vanilla CSS #2
Comments
I suggest Sass. It'll be compiled to vanilla CSS in the end anyway. Sass will make the dev a bit more comfortable. |
We're not authoring in vanilla CSS. In the world of transitions + transforms it will be a total mess. Sass (scss specifically) is what the consensus seems to be. Less and Stylus ports are welcome to track the reference implementation but I do not see it as a core goal of the project. We'll distribute in both SCSS and a compiled CSS. |
The big advantage to Sass is that this could essentially big a big ol' mixin library or library of %placeholder classes. That way you just And also obviously: helping with prefixing and just overall code writing comfort. |
+1 for SASS + Bourbon |
I think using Bourbon in Sass is a good idea, as @chriscoyier suggested in the previous thread. |
+1 for SASS |
I agree that Sass is the most powerful tool, especially the I think any further dependencies or integrations with other tools, E.G. Bourbon, could be too opinionated and alienate potential users. |
One thing worth thinking about with prefixing: autoprefixer via grunt-autoprefixer is a pretty nifty way to handle the problem. That way builds get automatically updated to remove deprecated prefixes. |
Are we not only now dealing with the Perhaps extra tools are a bit overkill for one extra prefix? |
I vote for sass as long as its still simple to use with pure css. Which I |
@i-like-robots nearly. IE9 still requires a prefix for transforms http://caniuse.com/#search=transform |
Sass + Autoprefixer This would let us use node-sass (fast) in the future. |
It looks like everybody's okay with Sass. |
SASS it is Discussion for autoprefixer, Compass or Bourbon #3 |
The most popular preprocessor (overall) seems to be Less (probably due to Bootstrap). The most powerful (but unfortunately least popular) seems to be Stylus (since a few days ago Stylus also does placeholders via a So don't we have a bigger problem in here? I personally hate it when every other CSS framework/library is in a different preprocessor, creating a diversified community and leaving me annoyed. On the other hand, none can expect developers to maintain multiple versions for each preprocessor out there. I rarely see someone address this problem. Probably because there is no obvious hammer for this nail. |
@darsain The only hard numbers I've seen is the data we compiled at CodePen which has Sass kinda crushing LESS. http://blog.codepen.io/2013/04/08/statistics-on-preprocessor-usage/ |
@chriscoyier that wasn't my point, really. But I'm glad if that's the case as Less really lacks in features. I'm just surprised that not more people are pushing Stylus, which has such an amazing syntax embracing simplicity, super set of features, and god damn transparent mixins! How can anyone realize what transparent mixins are, and go for a preprocessor that doesn't have them... or the awesome Stylus syntax. Anyway, back to the point: CSS preprocessors have diversified community, creating an environment where getting any popular framework/library in your preprocessor of choice is a major pain in the ass - i.e. impossible. Is there any incentive to address this, or should we continue carry on with fingers in our ears shouting "lalalalala" as we do with package managers? :) This web environment is really an interesting one. |
Pro for Stylus:
Pro Sass
Subjective toughts
|
We like Sass and that's loud and clear obviously. I suggest the following to Stylus and LESS people (chirp, chirp)… |
Why would you ever pick a ruby based-stack (guard+sass) when the web is powered by javascript with awesome tools specifically designed for it (grunt/bower/yeoman+less/stylus). I can get the sass choice, but I'm a bit clue-less about the guard vs. grunt thing. |
@mgcrea yeoman support sass by default and to be honest guard is more simple than grunt in my experience, for the simpliest workflow i can type |
Sass FTW |
I'm up for Sass as well. |
Discussions about whether to use a pre-processor or vanilla CSS and if the former whether or not animations could or should be implemented as mixins or via an extension.
The text was updated successfully, but these errors were encountered: