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

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidiOS SafariSamsung Internet
Basic supportChrome Full support 29Edge Full support Yes
Prefixed
Full support Yes
Prefixed
Prefixed Requires the vendor prefix: -ms-
Firefox No support NoIE Full support 10
Prefixed
Full support 10
Prefixed
Prefixed Requires the vendor prefix: -ms-
Opera ? Safari No support NoWebView Android ? Chrome Android Full support 29Edge Mobile Full support Yes
Prefixed
Full support Yes
Prefixed
Prefixed Requires the vendor prefix: -ms-
Firefox Android No support NoOpera Android ? Safari iOS No support NoSamsung Internet Android ?

Legend

Full support  
Full support
No support  
No support
Compatibility unknown  
Compatibility unknown
Requires a vendor prefix or different name for use.
Requires a vendor prefix or different name for use.

Document Tags and Contributors

Last updated by: ExE-Boss,