Created
March 24, 2020 03:05
-
-
Save lunaluna/e4bef31e7d339a3606e66127005fc5ee to your computer and use it in GitHub Desktop.
【IE11】CSS hack
This file contains 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 all and (-ms-high-contrast:none){ | |
.foo { color: green } /* IE10 */ | |
} |
This file contains 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 all and (-ms-high-contrast:none){ | |
*::-ms-backdrop, .foo { color: red } /* IE11 */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
IE11のみをCSSハックする方法