Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
kevbost25618y@fkvx Not at all, but kind of.
SCSS allows you to nest selectors and define variables and a ton of other beautiful stuff.
Example:
$ayyyyylmao = 5px;
.cool-class {
margin: $ayyyyylmao;
.neat-class {
font-size: $ayyyyylmao;
.another {
width: $ayyyyylmao;
}
}
} -
kevbost25618y@fkvx the spacing is off, but you get it. I'll never be happy in vanilla css, but am in heaven with SASS. LESS is fine too, I just don't use it.
-
Haven't tried coffeescript , try netninja tutorial on sass on YouTube, won't take more than an hour to learn and quite easy to pickup @fkvx
-
kevbost25618y@heyheni There's also SASS syntax which is without the sugar, personally I feel like a little structure helps with readability.
-
I'm lazy, therefore fuck those sem;colons and c{}rly braces!
http://stylus-lang.com -
Cube18929268y@heyheni You can use Sass without semicolons and parenthesis. What's above is SCSS, a pure-CSS-like variant of Sass.
-
pyrotazz3088yWe use LESS - I only knew limited CSS when I started, so I don't think I'll ever be able to write vanilla CSS!! I tried once, it took me AGES.
-
darthy20068yok maybe the right place ro ask them: how da f*ck does one learn css/sass? i did tutorials, played a lot with it and yet at the end of the day when im trying to style one of my pronects it looks like a shity mess.. y god y.. #helpelsekillme
-
tahnik387588yI don't know why but I've always written vanilla CSS and never felt the need of SCSS. CSS itself is very good if properly installed. Also when a new feature comes in I wouldn't want to wait for SCSS to support it first before I can use it.
-
620hun81888y@tahnik I'm fairly certain you could put random attributes and values in SCSS and it would still compile.
-
crisz81918yThe only reason why I love them is that you don't need to learn. You need 5 minutes to familiarize and you can rock
Related Rants
You a front end dev?
Try sass or less, you will love it,
You will never be able to go back to css
😂
Please up vote after learning
undefined
sass
advice
frontend