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

willkey
willkey
3,650 Points

SASS or SCSS?

Should I learn SASS or SCSS? and which one of these is used by professional web developers? As I am working through the Front End Web Development track, aiming to land a job as a front end web developer.

2 Answers

willkey
willkey
3,650 Points

O right thanks. From what I can see. sass and scss is almost the same, except that scss uses the following characters

{ } ;

Am I right or is there more to it.

Shehan Dissanayake
Shehan Dissanayake
19,119 Points

"Sass has two syntaxes. The most commonly used syntax is known as β€œSCSS” (for β€œSassy CSS”), and is a superset of CSS3’s syntax. This means that every valid CSS3 stylesheet is valid SCSS as well. SCSS files use the extension .scss.

The second, older syntax is known as the indented syntax (or just β€œ.sass”). Inspired by Haml’s terseness, it’s intended for people who prefer conciseness over similarity to CSS. Instead of brackets and semicolons, it uses the indentation of lines to specify blocks. Files in the indented syntax use the extension .sass.

Explanation of SASS vs SCSS on the sass-lang.com website

You can find a good article here