Wasswa  Meagan

Wasswa Meagan

1620482100

The Secret Trick For Mobile Viewports

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.

If you like this post, feel free to subscribe or check out my other posts here

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

The Secret Trick For Mobile Viewports