DEV Community


Discussion on: Percentages in CSS: you're using them wrong

cutemaxi profile image
Oparaononaku maximus

Am hearing SASS for the first time, how does it operate?

maxart2501 profile image
Massimo Artizzu Author

Basically, just like SCSS. Before SCSS there was SASS.

SASS is a preprocessor that introduced a new syntax that was fundamentally different from CSS. For example, there is no need of curly braces (it is "pythonic" in this sense) or semicolons at the end. But plain CSS can't be parsed as SASS, so they later introduced a new syntax that's compatible with CSS. And SCSS was born.

So SASS is SCSS with the older syntax. I don't know, though, if the new advancements in SCSS will be available in SASS too (i.e. @use and all the rest).