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

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

Related at-rule@viewport
Initial valuezoom
Percentagesrefer to the size of bounding box
Mediaas each of the properties of the shorthand:
Computed valueas specified
Canonical orderthe unique non-ambiguous order defined by the formal grammar

Syntax

Values

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

Formal syntax

zoom | fixed

 

Accessibility concerns

Disabling zooming capabilities prevents people experiencing low vision conditions from being able to read and understand page content.

Specifications

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

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support29 Yes -ms- No10 -ms- ? No
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support ?29 Yes -ms- No ? No ?

Document Tags and Contributors

Last updated by: ExE-Boss,