0 votes
1 view
in Web Technology by (14.7k points)

From what I've been reading, Sass is a language that makes CSS more powerful with variable and math support.

What's the difference with SCSS? Is it supposed to be the same language? Similar? Different?

1 Answer

0 votes
by (33.1k points)

The full form of SASS is Syntactically Awesome StyleSheets. SASS adds power and elegance to the basic language and it is an extension of CSS. The new name of SASS is SCSS with some changes, but the old one SASS is also there. 

Below is the difference between SCSS or SASS:-enter image description here

Below is the syntactic example of SCSS and SASS respectively:-

$color: red 

=my-border($color) 

 border: 1px solid $color

body 

 background: $color

+my-border(green)

$color: red; 

@mixin my-border($color) { 

border: 1px solid $color; 

body { 

background: $color; 

@include my-border(green); 

}

...