Khoros Community

Highlighted
Advisor
Advisor

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

Jump to solution

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)
0 Kudos
2 Replies 2
Khoros Guru
Khoros Guru

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

Jump to solution

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 🙂 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 Khoros. Visit the Best Practice Center

If you appreciate my efforts, please give me a kudo ↓
Accept as solution to help others find it faster.
Reply
Loading...
Advisor
Advisor

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

Jump to solution

Thanks @ClaudiusH . This is really helpful .

0 Kudos
Reply
Loading...