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-limit CSS property is a Microsoft extension that specifies values for the -ms-scroll-limit-x-min, -ms-scroll-limit-y-min, -ms-scroll-limit-x-max, and -ms-scroll-limit-y-max properties.
| Initial value | as each of the properties of the shorthand: |
|---|---|
| Applies to | non-replaced block-level elements and non-replaced inline-block elements |
| Inherited | no |
| Computed value | as each of the properties of the shorthand:
|
| Animation type | discrete |
Syntax
The -ms-scroll-limit property is specified as one or more of the following scroll limit values, in the order listed, separated by spaces.
Values
-ms-scroll-limit-x-min-
The value of the
-ms-scroll-limit-x-minproperty. -ms-scroll-limit-y-min-
The value of the
-ms-scroll-limit-y-minproperty. -ms-scroll-limit-x-max-
The value of the
-ms-scroll-limit-x-maxproperty. -ms-scroll-limit-y-max-
The value of the
-ms-scroll-limit-y-maxproperty.
Formal syntax
<'-ms-scroll-limit-x-min'> <'-ms-scroll-limit-y-min'> <'-ms-scroll-limit-x-max'> <'-ms-scroll-limit-y-max'>
Specifications
Not part of any specification.
Remarks
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.
