Can anyone tell me the main difference between SASS and SCSS ?

SASS and SCSS are two ways to programatically write CSS , but I need to know basic difference between the two

 

Thanks

Regards

KeshavKelkar

Tags (1)
Message 1 of 3
2 REPLIES
Community Management
Navigation
Solution

Re: Can anyone tell me the main difference between SASS and SCSS ?

Hi @keshavkelkar

SASS is an extension to CSS to allow for easier readability and maintenance. It comes with two main syntaxes:

  1. The "old" indented syntax - Sometimes simply referred to as "SASS"
  2. The "new" SCSS syntax which is much closer to classic CSS in the look and does not rely on indentation

You can see a comparison between the two syntaxes in the code samples which have a "Sass" and "SCSS" tab here: http://sass-lang.com/guide

 

So to answer your question: In the Lithium scenario SCSS and SASS are actually the same Smiley Happy The former being the syntax to achieve the latter.

Here's some further reading on history giving a good comparison between the two.

http://www.thesassway.com/editorial/sass-vs-scss-which-syntax-is-better


Learn how to master Lithium. Visit the Best Practice Center

Previously known as Claudius. New profile - Now even more content
If you appreciate my efforts, please give me a kudo ↓
Accept as solution to help others find it faster.
Message 2 of 3
Highlighted

Re: Can anyone tell me the main difference between SASS and SCSS ?

Thanks @ClaudiusH . This is really helpful .

Message 3 of 3