+ 4
What is the difference between Css and Scss
I learned a lot about Css but I just started Sass I know they're similar but I want to know how they're similar
2 Answers
+ 17
They are similar in the sense that you can write normal CSS code in scss(sass). SCSS is a CSS preprocessor which allows you to use functions(mixins), variables, and nest CSS rules in each other.
SCSS main purpose is DRY(Don't Repeat Yourself) rule.
+ 10
CSS is the styling language that your browser understands and uses to style webpages. SCSS is a special type of file for SASS, a program written in Ruby that assembles CSS style sheets for a browser. SASS adds lots of additional functionality to CSS like variables, nesting and more which can make writing CSS easier and faster. SCSS files are processed by the server running a web app to output a traditional CSS that your browser can understand.