W3cubDocs

/CSS

-ms-content-zooming

Non-standard
This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

The -ms-content-zooming CSS property is a Microsoft extension that specifies whether zooming is enabled.

Initial value zoom for the top level element, none for all other elements
Applies to non-replaced block-level elements and non-replaced inline-block elements
Inherited no
Media interactive
Computed value as specified
Animation type discrete
Canonical order the unique non-ambiguous order defined by the formal grammar

Syntax

Values

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.

Formal syntax

  none | zoom

Specifications

Not part of any specification.

Remarks

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.

© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/CSS/-ms-content-zooming