Web Compendium Sitemap

Viewport

Related: scrolling

[Viewport] refers to the part of the document being viewed in the browser window (or on-screen, if the document is being viewed on a mobile browser or a desktop browser in full-screen mode). Content outside the viewport is not visible onscreen until scrolled into view. [MDN]

Viewport Meta Tag

Especially on mobile devices, some components of browser UIs can cover/change the viewport. For example, the on-screen keyboard or a search bar. The interactive-widget property of the viewport meta tag can be used to specify how exactly the viewport changes in these situations. [MDN, spec, chrome-dev]. This feature is not available in Safari [WebKit/standards-positions#65].