Use these instead of vh
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!

The new CSS pseudo-classes explained - :is() :where() :has()

Can We Recreate this Lando Norris text effect?

Zig 2026: No-AI Policy, $670K Foundation, Left GitHub & Why Zig Isn’t 1.0 - Andrew Kelley Explains

Every UI/UX Concept Explained in Under 10 Minutes

"Got any hobbies?"

Leave Windows 11 Idle for 24 Hours and Watch What Happens

5 simple tips to making responsive layouts the easy way

Handy CSS layout patterns, and fun ways to elevate them

Karma Just Hit Adobe. Hard.

How to actually get good at web development

Anthropic is Completely F*cked.

Why Putin Is So Hard to Kill

How to take control of Flexbox

What AI does to the minds of novice coders

Learn flexbox the easy way

I Outsmarted Pro Car Thieves

Top 10 CSS Features You Should Know & Use in 2024

The 3 dashboard UI flaws that give away you've NEVER built one

PROs Guess The Cost Of Guitars Blindfolded

