-ms-high-contrast-adjust property

Gets or sets a value that indicates whether to override any Cascading Style Sheets (CSS) properties that would have been set in high contrast mode.

This property is read/write.

Internet Explorer 10

Syntax

-ms-high-contrast-adjust: auto | none

Property values

One of the following 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.

CSS information

Applies ToAll elements
Mediavisual
Inheritedtrue
Initial Valueauto

Remarks

The -ms-high-contrast-adjust property works with the -ms-high-contrast media feature.

See also

CSSStyleDeclaration
-ms-high-contrast media feature

 

 

Show:
© 2014 Microsoft. All rights reserved.