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-high-contrast-adjust CSS property is a Microsoft extension that gets or sets a value indicating whether to override any CSS properties that would have been set in high contrast mode.
| Initial value | auto |
|---|---|
| Applies to | all elements |
| Inherited | yes |
| Computed value | as specified |
| Animation type | discrete |
Syntax
Values
auto-
Indicates the applicable CSS properties will be adjusted as expected when the system is in high contrast mode.
none-
Indicates the applicable CSS properties will not be adjusted when the system is in high contrast mode.
Formal syntax
auto | none
Specifications
Not part of any specification.
Remarks
The -ms-high-contrast-adjust property works with the -ms-high-contrast media feature.
