ジャンプ先:

この記事はまだボランティアによって 日本語 に翻訳されていません。ぜひ MDN に参加して翻訳を手伝ってください!
この記事を English (US) で読むこともできます。

Non-standard
This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

 

The -ms-scroll-rails CSS property is a Microsoft extension that specifies whether scrolling locks to the primary axis of motion.

Initial valuerailed
Applies tonon-replaced block-level elements and non-replaced inline-block elements
Inheritedno
Mediainteractive
Computed valueas specified
Animation typediscrete
Canonical orderthe unique non-ambiguous order defined by the formal grammar

Syntax

Values

none

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

railed

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

Formal syntax

  none | railed

Specifications

Not part of any specification.

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.

ドキュメントのタグと貢献者

このページの貢献者: teoli, chrisdavidmills, jameshkramer
最終更新者: teoli,