VisualViewport: offsetTop property

The offsetTop read-only property of the VisualViewport interface returns the offset of the top edge of the visual viewport from the top edge of the layout viewport in CSS pixels.

Value

A double.

Specifications

Specification
CSSOM View Module
# dom-visualviewport-offsettop

Browser compatibility

BCD tables only load in the browser