I don’t know if you’ve noticed, but using the vertical viewport on mobile is shit. Here’s a quick guide on how to make them less awful.
Look at the following picture and tell me where you think 100vh should be. Most of you probably said the green arrow, you know, the VISIBLE bit? Actually, 100vh goes all the way to the red arrow, why? I don’t know, maybe because that little menu bar at the bottom is ever so slightly transparent that it counts as ‘visible’?
#web #webdev #css #react #css3 #html5