Public
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

2 Replies 2
Khoros Alumni (Retired)

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


Khoros Best Practice until August 2019. Onwards posting as Claudius.
Learn how to master Khoros. Learn Best Practice in the Community Documentation
If you appreciate my efforts, please give me a kudo ↓
Accept as solution to help others find it faster.

Thanks @ClaudiusH . This is really helpful .

Welcome to the Technology board!

Curious about our platform? Looking to connect on social technology? You've come to the right place!

Are you a Khoros customer? For direct assistance from our Support team, please visit the Support Forum.