Skip to content

Instantly share code, notes, and snippets.

@mrshawnspencer
Created October 17, 2019 16:02
Show Gist options
  • Save mrshawnspencer/3d9b6f5f3efcf38078d0980c9a017778 to your computer and use it in GitHub Desktop.
Save mrshawnspencer/3d9b6f5f3efcf38078d0980c9a017778 to your computer and use it in GitHub Desktop.
/*
As published elsewhere on the web:
IE10 and IE11
==================
The first snippet might cause problems if you are coding
in Visual Studio Code, because some formatters will insert
a line break after the comma:
*/
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
.selector { property:value; }
}
/*
Work-around:
*/
@media screen and (-ms-high-contrast: active) and (-ms-high-contrast: none) {
.selector { property:value; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment