+ 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

2nd May 2017, 3:26 AM
Hello Hello
Hello Hello - avatar
2 Réponses
+ 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.
2nd May 2017, 4:40 AM
Wisdom Abioye
Wisdom Abioye - avatar
+ 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.
2nd May 2017, 3:37 AM
Nithiwat
Nithiwat - avatar