Created
April 29, 2024 09:32
-
-
Save captainbrosset/a155208250b68d64cbfb04422a2e63d1 to your computer and use it in GitHub Desktop.
legacy -ms-high-contrast
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media (-ms-high-contrast: active) { | |
/* Your general contrast theme styles */ | |
} | |
@media (-ms-high-contrast: black-on-white) { | |
/* Your specific light contrast theme styles */ | |
} | |
@media (-ms-high-contrast: white-on-black) { | |
/* Your specific dark contrast theme styles */ | |
} | |
/* For elements that need to opt-out of contrast theme styles */ | |
.opt-out-of-high-contrast { | |
-ms-high-contrast-adjust: none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment