Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

Richard Nash
Richard Nash
24,862 Points

Will Sass replace CSS in a few years?

Thoughts? It seems that it should, to me at least.

2 Answers

Dave McFarland
STAFF
Dave McFarland
Treehouse Teacher

SASS won't ever replace CSS. CSS is the standard developed by the W3C, and the one browser makers follow (and sometimes advance) when building their browsers' rendering engines.

However, SASS and other CSS pre-compilers like LESS and Stylus are making an impact on how people view the evolution of CSS. For example, there's a W3C working draft to include variables in CSS: http://dev.w3.org/csswg/css-variables/ These would act similarly to variables in SASS. However, other SASS features like mixins may never be included in the CSS specification.

SASS is a great tool to make it easier for us to generate the CSS that browsers use to format pages. It's better not to make web browsers do a lot of extra work -- like compiling CSS -- everytime they load a stylesheet. Pre-compilers are great, because we can write simpler, more modular CSS, and have our computers run through the necessary steps to generate pure CSS for browsers.

Richard Nash
Richard Nash
24,862 Points

I suppose I should rephrase the question to more closely articulate my original intent. Do you think that CSS will fully integrate the features and concepts of Sass, LESS, etc... into CSS itself? It seems from your previous response, that it is already happening...