The @viewport rule, in combination with media queries, enabled web developers to optimize the layout of sites and apps for different devices with minimal effort. It generalizes the viewport meta tag to CSS, while being much simpler to understand and without the quirks that exists with the meta tag.


Specification link

Specification currently under development in a Working Group

Status in Chromium


In developer trial (Behind a flag)

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

  • No signal
  • No signal
  • Positive



The development of the feature started in WebKit, before Blink was created and is already referred to from Chrome documentation: Opera shipped in Presto 2.8, before switching to WebKit and later Blink:

Last updated on 2020-11-19