Published On Nov 16, 2023
Looking to step up your CSS game? 👉 https://kevinpowell.co/courses?utm_ca... 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/viewp...
âś… Up to date browser support: https://caniuse.com/mdn-css_types_len...
#css
--
Come hang out with other dev's in my Discord Community
đź’¬   / discord Â
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!
đź“ş   / kevinpowellcss Â
---
Help support my channel
👨‍🎓 Get a course: https://www.kevinpowell.co/courses
đź‘• Buy a shirt: https://teespring.com/stores/making-t...
đź’– Support me on Patreon:   / 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:   / 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!