Visitar URL original
Visual Viewport API example

Try scrolling around and pinch-zooming to see how the reported values change.