47:49CSS Variables - Sass to the rescue for fallbacks
From the creator
CSS Variables and fallbacks are not elegant, as we just saw in the last video. Luckily, we can use Sass to help us out in this. This solution was heavily influenced from this post here: https://vgpena.github.io/winning-with-css-variables/#easier-fallbacks-with-sass CodePen: https://codepen.io/kevinpowell/pen/40864b1265e914cbd9efbbc6f9af7e41?editors=0100 Don't know much (or anything) about Sass and want to learn more? I've got a course just about Sass! kevinpowell.co/learn-sass --- My Code Editor: VS Code - https://code.visualstudio.com/ How my browser refreshes when I save: https://youtu.be/h24noHYsuGc --- Support me on Patreon: https://www.patreon.com/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: https://www.instagram.com/kevinpowell.co/ Twitter: https://twitter.com/KevinJPowell Codepen: https://codepen.io/kevinpowell/ Github: https://github.com/kevin-powell
Published 2018-01-03 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.





