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.
Specifies whether zooming is enabled.
This property is read/write.
![]() |
Syntax
-ms-content-zooming: none | zoom
Property values
One of the following values.
none-
Initial value (all elements except top-level). The element is not zoomable.
zoom-
Initial value (top-level element only). The element is zoomable.
CSS information
| Applies To | non-replaced block-level elements and non-replaced inline-block elements |
|---|---|
| Media | interactive |
| Inherited | no |
| Initial Value | zoom for the top level element, none for all other elements |
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. For information about controlling the touch inputs that result in a zoom, see -ms-touch-action.
This property requires Windows 8 or later.
See also
- CSSStyleDeclaration
- Windows Store apps using JavaScript Samples: HTML scrolling, panning and zooming sample
- Internet Explorer Samples: Scrolling, panning, and zooming with touch input
Send comments about this topic to Microsoft
Build date: 11/29/2012
