DEV Community

Cover image for Speed Up Your Web Development: Sass

Speed Up Your Web Development: Sass

Stiv Marcano on September 06, 2018

This is the first of a series of posts that aim to make your life easier and enhance your productivity while developing websites, by giving you use...
Collapse
 
stiv_ml profile image
Stiv Marcano

But still not working on IE11, i would totally prefer CSS variales, but Internet explorer compatibility is a must for me.

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”.

 
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.

Collapse
 
dance2die profile image
Sung M. Kim

Thanks pabloKz.

I've never bothered to check out SASS until I read this.
It seem to make CSS files more manageable without having to repeat the same style over and over.

Collapse
 
ssimontis profile image
Scott Simontis

I use to be a huge disciple of SCSS, but nowadays my opinion has shifted. I feel like it can be dangerous how easy it becomes to deeply nest hierarchies -- you can easily end up creating selectors that are needlessly specific. CSS is a lot more capable now, and with web components, I think there is a valid case to be made for separating concerns according to components and their functions vs a strict separation between JS/HTML/CSS. I am also a terrible at CSS FWIW :P

Collapse
 
amigeekrumi profile image
Ruth

Thank you, I've been meaning to look into SASS and your post was get helpful!

 
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.

 
equinusocio profile image
Mattia Astorino

Wut? Do you know what autoprefixer do?