用户变焦 | @viewport.user-zoom
@viewport.user-zoom
user-zoom
CSS描述符控制用户是否能够改变由@viewport
所定义的文档的缩放因子。
/* Keyword values */
user-zoom: zoom;
user-zoom: fixed;
Related at-rule | @viewport |
---|---|
初始值 | zoom |
百分比值 | refer to the size of bounding box |
适用媒体 | visual, continuous |
计算值 | as specified |
正规顺序 | the unique non-ambiguous order defined by the formal grammar |
语法
值
zoom
用户可以放大或缩小。
正式语法
zoom | fixed
规范
Specification | Status | Comment |
---|---|---|
CSS Device AdaptationThe definition of '"user-zoom" descriptor' in that specification. | Working Draft | Initial definition |
浏览器兼容性
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 | ? | ? | ? | ? | ? | ? |