W3cubDocs

/CSS

@viewport.user-zoom

The user-zoom CSS descriptor controls whether or not the user should be able to change the zoom factor of a document defined by @viewport.

Related at-rule @viewport
Initial value zoom
Percentages refer to the size of bounding box
Media visual, continuous
Computed value as specified
Canonical order the unique non-ambiguous order defined by the formal grammar

Syntax

/* Keyword values */
user-zoom: zoom;
user-zoom: fixed;

Values

zoom
The user can zoom in or out.
fixed
The user cannot zoom in or out.

Formal syntax

zoom | fixed

Specifications

Specification Status Comment
CSS Device Adaptation
The definition of '"user-zoom" descriptor' in that specification.
Working Draft Initial definition

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari
Basic support ? ? ? ? ?
Feature Android Chrome for Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support ? ? ? ? ? ?

© 2005–2017 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/CSS/@viewport/user-zoom