CSS calc() allows us to do math in CSS but it doesn’t always have the most obvious use cases. A lot of the time it’s super helpful in more sneaky kinds of ways. In this video, I look at how it compares to doing math in a preprocessor as well as a few fun use cases for it where it does some really fun things!
Cloud Four Article by Tyler Sticka that I mention – https://cloudfour.com/thinks/breaking-out-with-viewport-units-and-calc/
Come and hangout, ask questions, suggest ideas, and meet some awesome people over in The Community: https://discord.gg/nTYCvrK
I have a newsletter! https://www.kevinpowell.co/newsletter
New to Sass, or want to step up your game with it? I’ve got a course just for you: https://www.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.