W3cubDocs

/CSS

-ms-content-zoom-snap

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-zoom-snap CSS shorthand property is a Microsoft extension that specifies values for the -ms-content-zoom-snap-type and -ms-content-zoom-snap-points properties.

Initial value as each of the properties of the shorthand:
Applies to non-replaced block-level elements and non-replaced inline-block elements
Inherited no
Media interactive
Computed value as each of the properties of the shorthand:
Animation type discrete
Canonical order the unique non-ambiguous order defined by the formal grammar

Syntax

The -ms-content-zoom-snap shorthand property is specified as one or both of the following content zoom snap values, in order, separated by spaces.

Values

-ms-content-zoom-snap-type
Value of the -ms-content-zoom-snap-type property.
-ms-content-zoom-snap-points
Value of the -ms-content-zoom-snap-points property.

Formal syntax

  <'-ms-content-zoom-snap-type'> || <'-ms-content-zoom-snap-points'>

Specifications

Not part of any specification.

Remarks

This property has no effect on non-zoomable elements. See -ms-content-zooming for details on zoomable elements.

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-zoom-snap