最小變焦 | @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 |
? |
? |
? |
? |
? |
? |