EN
이 콘텐츠는 한국어로 제공되지 않아 영어 버전으로 표시됩니다.

-ms-scroll-rails property

Specifies whether scrolling locks to the primary axis of motion.

This property is read/write.

Internet Explorer 10

 

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.

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

 

 

표시:
© 2014 Microsoft