Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

-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.

-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.

CSS information

Applies Tonon-replaced block-level elements and non-replaced inline-block elements
Mediainteractive
Inheritedno
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

 

 

Show:
© 2018 Microsoft