Jump to:

A viewport represents a polygonal (normally rectangular) area in computer graphics that is currently being viewed. In web browser terms, it refers to the part of the document you're viewing which is currently visible in its window (or the screen, if the document is being viewed in full screen mode). Content outside the viewport is not visible onscreen until scrolled into view.

The portion of the viewport that is currently visible is called the visual viewport . This can be smaller than the layout viewport, such as when the user has pinched-zoomed. The layout viewport remains the same, but the visual viewport became smaller.

 

Learn more

General Knowledge

Document Tags and Contributors

Contributors to this page: estelle, toraritte, Sheppy, chrisdavidmills, hbloomer, klez, Sebastianz
Last updated by: estelle,