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 | visual, continuous |
Computed value | as specified |
Canonical order | the 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
How to read CSS syntax.zoom | fixed
Specifications
Specification | Status | Comment |
---|---|---|
CSS Device Adaptation The definition of '"user-zoom" descriptor' in that specification. |
Working Draft | Initial definition |
Browser compatibility