CSS with superpowers
Sass should be seen as an extension of CSS3, following on from SCSS, that simplifies the syntax, brings it closer to a programming language and adds variables, conditional logic and selector inheritance.
Note that Sass originally came from the Ruby ecosystem and is often used together with HAML.
Sass is what is known as a preprocessor: you write in Sass and then compile it into CSS.
A few advantages to take advantage of:
- write CSS faster
- closer to a programming language
- many functions (including @include for easily reusing part of the CSS in different places), mixins, variables, etc.
- clear organisation of information with nesting
As soon as a project is large and complex, Sass naturally becomes an indispensable front-end tool.
Going further with Sass
Official website: sass-lang.com