Technology

As of 2 PM Pacific time on Thursday March 30th, The Lithium Community will be unavailable for a few hours. Please be sure to save your content prior to this time.
Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted
Accepted Solution

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

Advisor
Posts: 23
Registered: ‎09-02-2016

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

 

Thanks

Regards

KeshavKelkar

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

Posts: 180
Kudos: 114
Registered: ‎11-28-2016

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

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.

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

Advisor
Posts: 23
Registered: ‎09-02-2016

Thanks @ClaudiusH . This is really helpful .