-ms-high-contrast-adjust

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 valueauto
Applies toall elements
Inheritedyes
Mediavisual
Computed valueas specified
Animation typediscrete
Canonical orderthe unique non-ambiguous order defined by the formal grammar

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.

Document Tags and Contributors

Contributors to this page: teoli, jameshkramer, chrisdavidmills
Last updated by: teoli,