Created
June 26, 2018 19:06
-
-
Save CapWebSolutions/aaf1f4c4dff943814791c7ec06a0c519 to your computer and use it in GitHub Desktop.
IE 10/11 displays outline on any clicked div. This css snippet removes that outline.
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
| /* Added to remove outline on any clicked div when displyed in IE 11 */ | |
| @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) { | |
| /* IE10+ CSS styles go here */ | |
| :focus { | |
| outline: none; | |
| } | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ref: https://stackoverflow.com/questions/28417056/how-to-target-only-ie-any-version-within-a-stylesheet