非标
此特征是非标准的,且不在标准轨道中。不要在面向 Web 的生产站点中使用它:它不适用于每个用户。实现之间可能存在大的不兼容性,且行为将来可能改变。
-ms-content-zooming
CSS
特性为
Microsoft extension
that specifies whether zooming is enabled.
| 初始值 | zoom for the top level element, none for all other elements |
|---|---|
| 适用于 | non-replaced block-level elements and non-replaced inline-block elements |
| 继承 | no |
| 计算值 | 如指定 |
| 动画类型 | discrete |
none
The initial value of all elements except the top-level element. The element is not zoomable.
zoom
The initial value of the top-level element. The element is zoomable.
none | zoom
Not part of any specification.
This property has no effect unless overflow is permitted on both the x- and y-axes.
By default, zoom-enabled elements can be zoomed by the user via pinch-zoom. The top-level element can also be zoomed via double-tap when it is zoom-enabled.
Starting with Windows 8.1, this property is also supported for touchpad interaction.
This property requires Windows 8 or later.