Have you used Sass? What's good about it? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 65

Have you used Sass? What's good about it?

As far as I understand, it uses features that don't exist in CSS.

30th Jan 2017, 1:34 PM
//Lana Wilson
//Lana Wilson - avatar
7 Answers
+ 14
Sass is a well known preprocessor for css styling. It enables you to use css styles with mixins, variables, booleans, loops and other features which aren't in traditional css code. You can also import files and keep them organized in folders until you compile the code. You don't need to worry about compiling sass into css, you can install grunt or gulp and they will compile for you every time you save, with these tools you can also watch for errors and make your code cleaner (lint). There's two kinds of syntax in sass: The sass syntax is written without curly braces, it's mostly organized by identation. The scss sintax is very similar to css and is more friendly for people who have written only css syntax. Another similar preprocessor to scss is less and similar to sass is stylus. I hope this help you.
1st Feb 2017, 6:43 AM
Josué Beltrán
Josué Beltrán - avatar
+ 6
Combine SASS with Jade and you're good to go. They're great for simplicity.
4th Feb 2017, 2:42 PM
Mark Foxx
Mark Foxx - avatar
+ 4
u can best your class/id/tags the way it was nested in your HTML without having to write a class name all over again when targeting an inner class e.g .class name { background:red; .classname2 { color:blue; } } that's just a part though.
31st Jan 2017, 12:41 AM
Kelvin Esekhile
Kelvin Esekhile - avatar
+ 1
Sass is a css preprocessor that enables you a better organization and provides extra features that pure CSS is not intended to provide. A good example of a Sass + Compass boilerplate is the SassySkeleton project at github. I've been using that for a couple of years and it helped me a lot to have better organized styles for my projects ;)
9th Feb 2017, 3:39 AM
Reva Gomes
0
I have used SCSS (SASS), and it is really awesome. I felt that CSS has become -somehow- a programming language. From now on, I will use SASS only for big projects. I recommend using a program called Koala to convert SASS to regular CSS.
4th Apr 2017, 4:45 PM
Hasan Al-Yazidi
Hasan Al-Yazidi - avatar
0
I don't know about others but I love Sass bcoz it gives u freedom to design and maintain large scale project yes I have used it it has so many features like mixin @if @else statements and declare variable extent and many more Sass is smart choice
29th Aug 2017, 7:03 PM
imran ali
imran ali - avatar
- 2
more faster ans jetter organisation !
5th Feb 2017, 6:51 PM
01 “Garrek8” 12
01 “Garrek8” 12 - avatar