New Viewport Units
Read OriginalThis article details the problem with traditional CSS viewport units (vh) on mobile browsers, where 100vh doesn't account for dynamic UI like address bars. It introduces and explains the new small (svh), large (lvh), and dynamic (dvh) viewport units designed to provide more reliable and predictable sizing for full-height elements on mobile devices.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser