>Looking to step up your CSS game? π https://kevinpowell.co/courses?utm_campaign=general&utm_source=youtube&utm_medium=viewportunits I have a bunch of courses, including several free ones.
I see people use `vh` a lot, and then complain that it doesnβt work the way they thought it would, so in this one, I explore a few other options that we have, which are `dvh`, `svh`, and `lvh`. Along with these, you could also use `dvb`, `svb`, and `lvb`, which are the logical property version of the height units, but for the block-size.
π Links
β
The example page: https://viewport-unit-test.netlify.app/
β
The GitHub repo: https://github.com/kevin-powell/viewport-unit-test
β
Up to date browser support: https://caniuse.com/mdn-css_types_length_viewport_percentage_units_dynamic
#css
—
Come hang out with other dev’s in my Discord Community
π¬ https://discord.gg/nTYCvrK
Keep up to date with everything I’m up to
β https://www.kevinpowell.co/newsletter
Come hang out with me live every Monday on Twitch!
πΊ https://www.twitch.tv/kevinpowellcss
—
Help support my channel
π¨βπ Get a course: https://www.kevinpowell.co/courses
π Buy a shirt: https://teespring.com/stores/making-the-internet-awesome
π Support me on Patreon: https://www.patreon.com/kevinpowell
—
My editor: VS Code – https://code.visualstudio.com/
—
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.
Twitter: https://twitter.com/KevinJPowell
Codepen: https://codepen.io/kevinpowell/
Github: https://github.com/kevin-powell
—
And whatever you do, don’t forget to keep on making your corner of the internet just a little bit more awesome!