Why SASS? - and what can it do?
- The spelling remains the same as for CSS
-
A big advantage is the ability to nest the rules.
-
Variables can be used. Thus adjustments for many elements can be changed at the same time (i.e.: the color scheme).
-
Entire sections of the CSS code can be used as a reference. Even arguments can be passed. (Mixins)
-
You can swap parts of the CSS code into other files (Partials) or import other SCSS files into the project (Import).
-
Classes are extensible and can therefore be specialized (Extend / Inheritance).
-
SCSS can calculate (Operators)
-
A descendant of this is the SCSS (Sassy CSS)
All these properties lead to a well structured code and allow a goal-oriented work.