DEV Community

Cover image for Getting started with CSS variables

Getting started with CSS variables

Gopi Krishna on November 13, 2019

This article was originally published on my blog. Feel free to check it out If you have used SASS or other CSS preprocessors, you might have alrea...
Collapse
 
songomen profile image
SongoMen

Are css variables really that important to learn ? I don't see any reason to not use sass. Since I get to know sass I use it in my every project. What's your opinion on this?

Collapse
 
kylefilegriffin profile image
Kyle Griffin

The idea is for core CSS to standardize the SASS functionality so we won't need a preprocessor anymore. Variables was one reason why people used it, and eventually CSS will get mixins and logic too

Collapse
 
bgopikrishna profile image
Gopi Krishna

Also with CSS Variables there is no setup required.