2. Sass (Syntactically Awesome
StyleSheets)
• Sass is an extension of CSS that adds power
and elegance to the basic language. It allows
you to use variables, nested
rules, mixins, inline imports, and more, all
with a fully CSS-compatible syntax. Sass helps
keep large stylesheets well-organized, and get
small stylesheets up and running quickly,
particularly with the help of Compass library.
4. Syntax
• *scss (Sassy CSS) - este o extensie la fisierele de
tip *css, asta insemnand ca orice fisier css valid
este si un *scss valid.
• *sass – este o alta extensie folosita, foloseste
indentarea pentru gruparea selectorilor, nu are
nevoie de “{” sau “;” fiind mai usor de scris si
inteles decat *css.
Sass are chiar si un “tool” de convertire a
acestora in ambele sensuri:
$ sass-convert style.scss style.sass