re: Create your first CSS Custom Properties (Variables) VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Great Post! I made your Demo work with IE11 jsbin.com/yiriyuvisi/1/edit?html,c... ...by practically just including this Polyfill i wrote: github.c...
 

Very interesting! I usually shy away from JS polyfills for CSS, but Custom Properties are one of those things that mix CSS and JS so much that I think it makes a lot of sense!

Usually, if I'm worrying about fallbacks, I'll specify my values outside of Custom Properties and then overwrite with the custom property to allow a graceful fallback, but having the best of both worlds would be super nice!

code of conduct - report abuse