What is a difference between Sass and CSS?
Experience Level: Junior
Tags: Sass
Answer
- Sass is a superset of CSS.
- Sass has more functions but it isn't supported by browsers out of the box.
- Sass needs to be compiled to CSS using a Sass compiler.
- Sass has its own syntax that builds on top of CSS syntax and extends it.
- Sass improves code maintainability and allows you not to repeat yourself
Related Sass job interview questions
What is @import keyword good for in Sass?
Sass JuniorWhat are partials in Sass?
Sass JuniorWhat is scale-color() function good for in Sass?
Sass JuniorWhat are lighten() and darken() functions good for in Sass?
Sass JuniorWhat is Interpolation in Sass and when would you use it?
Sass Junior