A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developer.mozilla.org/en-US/docs/Web/API/VisualViewport/offsetTop below:

VisualViewport: offsetTop property - Web APIs

MDN Web Docs
  1. Web
  2. Web APIs
  3. VisualViewport
  4. offsetTop

Filter sidebar

In this article
  1. Visual Viewport API
  2. VisualViewport
  3. Instance properties
    1. height
    2. offsetLeft
    3. offsetTop
    4. pageLeft
    5. pageTop
    6. scale
    7. width
  4. Events
    1. resize
    2. scroll
    3. scrollend
  5. Inheritance
    1. EventTarget
  6. Related pages for Visual Viewport
    1. Window.visualViewport
In this article VisualViewport: offsetTop property

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since August 2021.

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, or 0 if current document is not fully active.

Value

A double.

Specifications Specification CSSOM View Module
# dom-visualviewport-offsettop
Browser compatibility Help improve MDN Was this page helpful to you? Learn how to contribute

.

This page was last modified on Jan 9, 2024 by MDN contributors.

View this page on GitHub

•

Report a problem with this content

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4