This fixes the problem with vh

If you’ve ever used 100vh for a hero section or a web app, you probably know the pain of it causing overflow on mobile devices, thanks to it not taking into account the UI elements, such as the address bar, that slide in and out. It’s annoying, but there are two options that you can use instead now, which are `svh` and `dvh`. #css -- Come hang out with other dev’s in my Discord Community 💬 Keep up to date with everything I’m up to ✉ Come hang out with me live every Monday on Twitch! 📺 --- Help support my channel 👨‍🎓 Get a course: 👕 Buy a shirt: 💖 Support me on Patreon: ht ... #KevinPowell #Kevin_Powell #css #front-end #frontend #html #tutorial #css_units #css_height #dvh 20231206 -gmjmegPRw4
Back to Top