Skip to content
loading...

re: CSS variables are great! VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Wait, so what's the browser compatibility with this? As much as I love SCSS, and I do, if I don't have to use it anymore in place of standard css...
 
 

That's support for setProperty itself, not support for cash variables, which won't work with setProperty (or at all on ie without polyfilling - and the best polfyills only support initial evaluation)

caniuse.com/#feat=css-variables

So, aside from IE, if your browser is less than a year old (2 years, at least, if you exclude Edge), CSS variables work.

code of conduct - report abuse