sass SCSS vs Sass Comparision between SCSS & SASS


Example

  • SCSS syntax resembles more like a CSS syntax but SASS syntax is little bit different from SCSS but both produces exactly the same CSS code.
  • In SASS we are not ending the style properties with semicolon(;) but in SCSS we are ending the style properties with (;).
  • In SCSS we used paranthesis {} to close the style properties but in SASS we don't use paranthesis.
  • Indentation is very important in SASS. It will define the nested properties in the class or id of the element.
  • In scss we can define multiple variables in single line but in SASS we can't do.

enter image description here