-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 valuezoom for the top level element, none for all other elements
Applies tonon-replaced block-level elements and non-replaced inline-block elements
Inheritedno
Mediainteractive
Computed valueas specified
Animation typediscrete
Canonical orderthe 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.

Document Tags and Contributors

 Contributors to this page: jameshkramer, chrisdavidmills
 Last updated by: jameshkramer,