Movatterモバイル変換


[0]ホーム

URL:


  1. Glossary
  2. Layout viewport

Layout viewport

Thelayout viewport is theviewport into which the browser draws a web page. Essentially, it represents what is available to be seen, whereas thevisual viewport represents the currently visible portion of the layout viewport, the currently visible subsection of the layout viewport that is currently visible on the user's display device.

This becomes important, for example, on mobile devices, where a pinching gesture can usually be used to zoom in and out on a site's contents. The rendered document doesn't change in any way, so the layout viewport remains the same as the user adjusts the zoom level. Instead, the visual viewport is updated to indicate the area of the page that they can see.

See also

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp