DEV Community


Discussion on: How using CSS variables helped me cut down on JavaScript

jnschrag profile image
Jacque Schrag

Late, but I wanted to share that there is a ponyfill for CSS variables that allow them to work in older browsers, with a few caveats. They serve a different function than SASS variables do, so it's definitely worth looking at the ponyfill if you'd like to start using CSS variables & need to support older browsers.

steelvoltage profile image
Brian Barbour

Thanks Jacque!

nuxodin profile image
Tobias Buschor

Or this (my) polyfill which gives IE11 almost complete support for CSS variables: