Visual viewport
The portion of theviewport that is currently visible is called thevisual viewport. This can be smaller than thelayout viewport, for example when the user has pinch-zoomed. The visual viewport is the visual portion of a screen excluding on-screen keyboards, areas outside of a pinch-zoom area, and any other on-screen artifact that doesn't scale with the dimensions of a page.
In this article
See also
- Viewport
- Layout viewport
- Viewport concepts
- CSSOM view module
- CSSOM view API
- Viewport on Wikipedia
- A tale of two viewports (Quirksmode)