Windows apps
Collapse the table of content
Expand the table of content
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-scroll-snap-y property

Specifies values for the -ms-scroll-snap-type and -ms-scroll-snap-points-y properties.

This property is read/write.

Internet Explorer 10



-ms-scroll-snap-y: -ms-scroll-snap-type -ms-scroll-snap-points-y

Property values

The scroll snap properties, separated by a space.


Value of the -ms-scroll-snap-type property.


Value of the -ms-scroll-snap-points-y property.

CSS information

Applies Tonon-replaced block-level elements and non-replaced inline-block elements
Initial Value(see individual properties)


This property has no effect on non-scrollable elements.

Starting with Windows 8.1, this property is also supported for mouse, keyboard, and touchpad interaction.

This property requires Windows 8 or later.


The -ms-scroll-snap-y property is a shorthand property. The following two selectors have an identical effect:

.scroll1 {
  -ms-scroll-snap-type: mandatory;
  -ms-scroll-snap-points-y: snapInterval(0%, 100%);

.scroll2 {
  -ms-scroll-snap-y: mandatory snapInterval(0%, 100%);

See also

Windows apps using JavaScript Samples: HTML scrolling, panning and zooming sample
Internet Explorer Samples: Scrolling, panning, and zooming with touch input



© 2017 Microsoft