最小变焦 | @viewport.min-zoom (Device Adaptation) - CSS 中文开发手册css
min-zoomCSS的描述符设置经过@viewport定义文档的最小缩放系数。不管是自动仍是根据用户要求,浏览器都不会缩放得超出此范围。html
一个缩放因子的1.0或100%不对应任何缩放。较大的值会放大。较小的值会缩小。浏览器
Related at-ruleide |
@viewport代理 |
---|---|
初始值orm |
autohtm |
百分比值ip |
the zoom factor itselfci |
媒体开发 |
visual, continuous |
计算值 |
auto, or a non-negative number or percentage as specified |
规范顺序 |
the unique non-ambiguous order defined by the formal grammar |
/* Keyword value */ min-zoom: auto; /* <number> values */ min-zoom: 0.8; min-zoom: 2.0; /* <percentage> value */ min-zoom: 150%;
auto用户代理将设置文档的上限缩放比例限制。
<number>限制缩放因子最小值的非负数。
<percentage>限制缩放因子最小值的非负百分比。
auto | <number> | <percentage>
Specification |
Status |
Comment |
---|---|---|
CSS Device AdaptationThe definition of '"min-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 |
? |
? |
? |
? |
? |
? |