CSS Variables - Browser Fallbacks

Published: 03 January 2018
on channel: Kevin Powell
18,619
758

As awesome as CSS variables are, there is a problem with that, and that is (as of the filming of this video), browser support is far from perfect, sitting at just below 78%.

That means we need to create fallbacks for browsers (like, you guessed it, IE!), which don't understand CSS variables.

On the plus side, it's SUPER easy to create fallbacks (did you see how long this video is? It's super short because it's super easy to do). The downside is, it's kind of redundant, and sort of kills the magic of them... luckily, Sass can rescue us from this issue, but that's for the next video!


CodePen: https://codepen.io/kevinpowell/pen/jY...
---

My Code Editor: VS Code - https://code.visualstudio.com/

How my browser refreshes when I save:    • How to automatically refresh your browser ...  

---

Support me on Patreon:   / kevinpowell  

I'm on some other places on the internet too!

If you'd like a behind the scenes and previews of what's coming up on my YouTube channel, make sure to follow me on Instagram and Twitter.

Instagram:   / kevinpowell.co  
Twitter:   / kevinjpowell  
Codepen: https://codepen.io/kevinpowell/
Github: https://github.com/kevin-powell


On this page of the site you can watch the video online CSS Variables - Browser Fallbacks with a duration of hours minute second in good quality, which was uploaded by the user Kevin Powell 03 January 2018, share the link with friends and acquaintances, this video has already been watched 18,619 times on youtube and it was liked by 758 viewers. Enjoy your viewing!