Viewport
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The Viewport
interface of the Viewport Segments API represents the device's viewport.
Instance properties
Specifications
Specification |
---|
CSS Viewport Module Level 1> # the-viewport-interface> |
Browser compatibility
Loading…
See also
- Using the Viewport Segments API
- Viewport Segments API
- Visual Viewport API
- Device Posture API
- Origin trial for Foldable APIs via developer.chrome.com (2024)