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 value | zoom |
| Percentages | refer to the size of bounding box |
| Media | as each of the properties of the shorthand:
|
| Computed value | as specified |
| Canonical order | the unique non-ambiguous order defined by the formal grammar |
zoomfixedzoom | fixed
Disabling zooming capabilities prevents people experiencing low vision conditions from being able to read and understand page content.
| Specification | Status | Comment |
|---|---|---|
| CSS Device Adaptation The definition of '"user-zoom" descriptor' in that specification. | Working Draft | Initial definition |
| Desktop | ||||||
|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | |
| Basic support | 29 | Yes
|
No | 10
|
? | No |
| Mobile | |||||||
|---|---|---|---|---|---|---|---|
| Android webview | Chrome for Android | Edge Mobile | Firefox for Android | Opera for Android | iOS Safari | Samsung Internet | |
| Basic support | ? | 29 | Yes
|
No | ? | No | ? |
© 2005–2018 Mozilla Developer Network and individual 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