EN
Este contenido no se encuentra disponible en su idioma, pero aquí tiene la versión en inglés.

-ms-scroll-rails property

Specifies whether scrolling locks to the primary axis of motion.

This property is read/write.

Syntax

-ms-scroll-rails: none | railed

Property values

One of the following values.

none

Content moves exactly with the user's finger. This value allows free-form panning.

railed

Initial value. Panning locks to the primary axis of motion.

CSS information

Applies Tonon-replaced block-level elements and non-replaced inline-block elements
Mediainteractive
Inheritedno
Initial Valuerailed

Remarks

This property has no effect on non-scrollable elements.

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

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

 

 

Mostrar:
© 2014 Microsoft