FrontEnd Development
FrontEnd Development

The Trick to Viewport Units on Mobile

Notches, scrollbars, navigational elements. they can all interfere with your use of the vw and vh viewport units. CSS custom properties to the rescue! -


The trick to viewport units on mobile | CSS-Tricks

Viewport units have always been controversial and some of that is because of how mobile browsers have made things more complicated by having their own
| CSS-Tricks