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;
zoom
fixed
Disabling zooming capabilities prevents people experiencing low vision conditions from being able to read and understand page content.
Related at-rule | @viewport |
---|---|
Initial value | zoom |
Percentages | refer to the size of bounding box |
Computed value | as specified |
zoom | fixed
@viewport { user-zoom: fixed; }
Specification | Status | Comment |
---|---|---|
CSS Device Adaptation The definition of '"user-zoom" descriptor' in that specification. | Working Draft | Initial definition |
Desktop | ||||||
---|---|---|---|---|---|---|
user-zoom descriptor |
29 — 84 | 12
|
No | 10
|
16 | No |
Mobile | ||||||
---|---|---|---|---|---|---|
user-zoom descriptor |
No | 29 — 84 | No | 16 | No | 2.0 |
© 2005–2020 Mozilla 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