Viewport
↔ visible portion of Document
in window
Visual Viewport
cur visible portion of Viewport
Layout Viewport
Whole Viewport (rep all available to be seen) into which Browser renders Web Page
(rectangular) area through which graphics are being viewed
document.documentElement.clientHeight
document.documentElement.clientWidth
References
Layout Viewport
↔ Whole Viewport (rep all available to be seen) into which Browser renders Web PageVisual Viewport
↔ cur visible portion of Viewport<wbr\>
↔ Word Break Opportunity Inline Element to mark optional line break in text for Browser based on Viewport<picture>
↔ Picture Inline Element to load alternative versions of image to match based on Viewport/Browser intoDocument
useOnScreen()
↔ Custom Hook to return boolean to check if node (as ref) is visible on Viewport; AbstractsIntersection Observer API
Web APIelementInViewport()
↔ utility to check IFHTMLElement
inside ViewportLayout Shift
↔ when Element in Viewport changes position - any jitter between frames - indicate visual instability, usually unintentional - measure by CLSLCP
↔ Largest Contentful Paint for loading perf, 👍<2.5s & 4s>💩, ⏱ to load/render first largest element (text/img) on Viewport