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 |
Media | visual |
Computed value | as specified |
Animation type | discrete |
Canonical order | the unique non-ambiguous order defined by the formal grammar |
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.
auto | none
Not part of any specification.
The -ms-high-contrast-adjust
property works with the -ms-high-contrast
media feature.
© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/CSS/-ms-high-contrast-adjust