MDN self-hosted library · e01.org

VisualViewport: pageTop property

CSSOM view API

no runnable cells web-api-instance-property upstream source

CSSOM view API

The pageTop read-only property of the VisualViewport interface returns the y coordinate of the top edge of the visual viewport relative to the initial containing block origin, in CSS pixels, or 0 if current document is not fully active.

Value

A double.

Specifications

Browser compatibility