DEV Community

Discussion on: Speed Up Your Web Development: Sass

Collapse
 
equinusocio profile image
Mattia Astorino

You can use custom properties even on IE 8. You will just loose the ability to change them runtime, like sass. Search fo PostCSS because learning sass in 2018 is “meh”.

Thread Thread
 
tux0r profile image
tux0r

A tool for transforming CSS with JavaScript

Ew.

Thread Thread
 
equinusocio profile image
Mattia Astorino

?

Thread Thread
 
tux0r profile image
tux0r

!

Thread Thread
 
stiv_ml profile image
Stiv Marcano

But we're on another scope there. Here, we're talking about simple easy cheesy css, with some extra tools, opposing to a tool for dinamically creating and modifying css. I agree it's all within the business requirements, but usually with sass you dont need to learn javascript at all to create complex styling solutions.

Thread Thread
 
tux0r profile image
tux0r

A combination of JS and CSS is a bad replacement for SCSS - it involves JavaScript. SCSS generates pure CSS on the other end...

Thread Thread
 
stiv_ml profile image
Stiv Marcano

This is exactly my point!

Thread Thread
 
equinusocio profile image
Mattia Astorino • Edited

Man, to compile sass you need ruby-sass or node-sass (js) or some external shitty tool like prepros or codekit. This is a no-sense even because sass is not css at all since it use his own syntax. With postcss you can write standard css and get... css. And don’t forget that if you are using autoprefixer (and you should) you are already using postcss.

Thread Thread
 
tux0r profile image
tux0r

if you are using autoprefixer (and you should)

I'm not. I write standard-compliant CSS.

Thread Thread
 
equinusocio profile image
Mattia Astorino

Wut? Do you know what autoprefixer do?

Thread Thread
 
tux0r profile image
tux0r

Wut? Which problem (not: thought problem) would it solve?