非标
此特征是非标准的,且不在标准轨道中。不要在面向 Web 的生产站点中使用它:它不适用于每个用户。实现之间可能存在大的不兼容性,且行为将来可能改变。

-ms-scroll-limit CSS 特性为 Microsoft extension that specifies values for the -ms-scroll-limit-x-min , -ms-scroll-limit-y-min , -ms-scroll-limit-x-max ,和 -ms-scroll-limit-y-max 特性。

初始值 as each of the properties of the shorthand:
适用于 non-replaced block-level elements and non-replaced inline-block elements
继承 no
计算值 as each of the properties of the shorthand:
动画类型 discrete

句法

-ms-scroll-limit property is specified as one or more of the following scroll limit values, in the order listed, separated by spaces.

-ms-scroll-limit-x-min

The value of the -ms-scroll-limit-x-min 特性。

-ms-scroll-limit-y-min

The value of the -ms-scroll-limit-y-min 特性。

-ms-scroll-limit-x-max

The value of the -ms-scroll-limit-x-max 特性。

-ms-scroll-limit-y-max

The value of the -ms-scroll-limit-y-max 特性。

形式句法

  <'-ms-scroll-limit-x-min'> <'-ms-scroll-limit-y-min'> <'-ms-scroll-limit-x-max'> <'-ms-scroll-limit-y-max'>
					

规范

Not part of any specification.

备注

This property has no effect on non-scrollable elements.

The specified behavior of the -ms-scroll-limit property is only applicable at a mscontentzoomfactor of 1; the behavior of this property is undefined at other zoom factors.

This property requires Windows 8 or later.

元数据

  • 最后修改:
  1. CSS
  2. CSS 参考