CSS viewport units like vw
, vh
, vmin
, and vmax
have had great browser support over the years. While these units work just fine in almost all scenarios there is one particular case on the mobile medium where the height viewport unit fails subtly.
How to use the new css variant units svh, lvh, or dvh on mobile?
· 3 min read