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
Copy Code
/* 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
Copy Code
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 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 |
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