user-zoom

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 AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
user-zoom descriptorChrome Full support 29Edge Full support 12
Prefixed
Full support 12
Prefixed
Prefixed Implemented with the vendor prefix: -ms-
Firefox No support NoIE Full support 10
Prefixed
Full support 10
Prefixed
Prefixed Implemented with the vendor prefix: -ms-
Opera Full support 16Safari No support NoWebView Android Full support 37Chrome Android Full support 29Firefox 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.