CSS - 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.

Syntax  

CSS
/* 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

CSS
zoom <a href="css/value_definition_syntax#single_bar" title="Single bar">|</a> fixed

Description  

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 valuezoom
Percentagesrefer to the size of bounding box
Mediavisual, continuous
Computed valueas specified
Canonical orderthe unique non-ambiguous order defined by the formal grammar

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 ? ? ? ? ? ?

 

Specifications  

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

License

© 2016 Mozilla 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

CSS CSS Descriptor Graphics Layout NeedsBrowserCompatibility NeedsExample Reference Web