Both Sass and Less are CSS preprocessors.
From keycdn.com
A CSS preprocessor is basically a scripting language that extends CSS and then compiles it into regular CSS.
So Sass and Less don't change the functionality of CSS, as they are compiled into plain old CSS. What they do is make it easier to write and maintain CSS with tools such as mixins, nesting, variables, and more.
SCSS, which stands for 'Sassy CSS' is one of two syntaxes for Sass.
From the sass reference:
The second and older syntax, known as the indented syntax (or sometimes just "Sass"), provides a more concise way of writing CSS.
The difference
Both Sass and Less have very similar features. There are syntactical differences, for example, Sass uses $ for variables whereas less uses @ .
There are some slightly more subjective differences, this website claims that "LESS Has More User-Friendly Documentation Than SCSS", however personally I have found the SCSS documentation and examples very easy to use.
hey guys,
i'm starting to get into web development on my own, just wanted a cool new hobby and I've always wanted to design my own website. I just finished the courses on html, CSS and Java from codeacademy. From browsing this forum and talking to people, I foudn out about SASS and LESS too, extremely interesting, i didn't even know about them when I first started! Just a question, I've been researching, but I still don't know the difference between SASS and LESS, can someone help? Which one is better to do? What do most professional use? and lastly, why are SASS and LESS better than CSS itself?
EDIT: changed "learning" to finishing courses on codeacademy, since I know there is a ton more to learn.
What is SASS and LESS - HTML & CSS - SitePoint Forums | Web Development & Design Community
LESS vs SASS/SCSS
Explain Like I'm Five: What is SASS and LESS?
LESS vs SASS for Kendo UI for jQuery in Kendo UI for jQuery | Telerik Forums
Videos
Both Sass and Less are CSS preprocessors.
From keycdn.com
A CSS preprocessor is basically a scripting language that extends CSS and then compiles it into regular CSS.
So Sass and Less don't change the functionality of CSS, as they are compiled into plain old CSS. What they do is make it easier to write and maintain CSS with tools such as mixins, nesting, variables, and more.
SCSS, which stands for 'Sassy CSS' is one of two syntaxes for Sass.
From the sass reference:
The second and older syntax, known as the indented syntax (or sometimes just "Sass"), provides a more concise way of writing CSS.
The difference
Both Sass and Less have very similar features. There are syntactical differences, for example, Sass uses $ for variables whereas less uses @ .
There are some slightly more subjective differences, this website claims that "LESS Has More User-Friendly Documentation Than SCSS", however personally I have found the SCSS documentation and examples very easy to use.
SCSS and LESS are both "supersets" of vanilla CSS. That means valid CSS is automatically also valid SCSS and LESS, but not necessarily the other way around.
The difference between SCSS and LESS is that they have a different syntax. They mostly have the same functionalities.
Something to do with css but that's as far as I am at this point in time.