-ms-content-zoom-snap property

Specifies values for the -ms-content-zoom-snap-type and the -ms-content-zoom-snap-points properties.

This property is read/write.

Internet Explorer 10

 

Syntax

-ms-content-zoom-snap: -ms-content-zoom-snap-type || -ms-content-zoom-snap-points

Property values

One or both of the following content zoom snap values, in order, separated by spaces.

CSS information

Applies To non-replaced block-level elements and non-replaced inline-block elements
Media interactive
Inherited no
Initial Value (see individual properties)

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.

See also

CSSStyleDeclaration

Windows apps using JavaScript Samples: HTML scrolling, panning and zooming sample

msContentZoomFactor

msZoomTo

Internet Explorer Samples: Scrolling, panning, and zooming with touch input

msContentZoomFactor

msZoomTo