我们的志愿者还没有将这篇文章翻译为 中文 (简体)。加入我们帮助完成翻译!
Summary
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 |
Syntax
/* 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
zoom | fixed
Specifications
Specification | Status | Comment |
---|---|---|
CSS Device Adaptation The definition of '"user-zoom" descriptor' in that specification. |
Working Draft | Initial definition |
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 | ? | ? | ? | ? | ? | ? |