MDN wants to learn about developers like you: https://qsurvey.mozilla.com/s3/MDN-survey

-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 that indicates whether to override any CSS properties that would have been set in high contrast mode.

This property is read/write.

Initial valueauto
Applies toall elements
Inheritedyes
Mediavisual
Computed valueas specified
Animation typediscrete
Canonical orderthe unique non-ambiguous order defined by the formal grammar

Syntax

The -ms-high-contrast-adjust property is specified as one of the following values.

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

Specification

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: jameshkramer
 Last updated by: jameshkramer,