The min-zoom
CSS descriptor sets the minimum zoom factor of a document defined by the @viewport
at-rule. The browser will not zoom out any further than this, whether automatically or at the user's request.
A zoom factor of 1.0
or 100%
corresponds to no zooming. Larger values are zoomed in. Smaller values are zoomed out.
/* Keyword value */ min-zoom: auto; /* <number> values */ min-zoom: 0.8; min-zoom: 2.0; /* <percentage> value */ min-zoom: 150%;
auto
<number>
<percentage>
Related at-rule | @viewport |
---|---|
Initial value | auto |
Percentages | the zoom factor itself |
Computed value |
auto , or a non-negative number or percentage as specified |
auto | <number> | <percentage>
@viewport { min-zoom: 2.0; }
Specification | Status | Comment |
---|---|---|
CSS Device Adaptation The definition of '"min-zoom" descriptor' in that specification. | Working Draft | Initial definition |
Desktop | ||||||
---|---|---|---|---|---|---|
min-zoom descriptor |
29 — 84 | 12
|
No | 10
|
16 | No |
Mobile | ||||||
---|---|---|---|---|---|---|
min-zoom descriptor |
No | 29 — 84 | No | 16 | No | 2.0 |
© 2005–2020 Mozilla and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/CSS/@viewport/min-zoom