Skip to content

Instantly share code, notes, and snippets.

@adamfaux85
Created October 23, 2018 12:46
Show Gist options
  • Save adamfaux85/a8a243a06dd1b46e98dc61137120b914 to your computer and use it in GitHub Desktop.
Save adamfaux85/a8a243a06dd1b46e98dc61137120b914 to your computer and use it in GitHub Desktop.
IE Media Queries
// IE8, IE9, IE10
@media screen\0 {
// styles
}
// IE9 Only
@media screen and (min-width:0\0) and (min-resolution: .001dpcm) {
// styles
}
// IE9+
@media screen and (min-width:0\0) and (min-resolution: +72dpi) {
// styles
}
// IE10+
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
// styles
}
// Edge Detection
@supports (-ms-ime-align:auto) or (-ms-accelerator:auto) {
// styles
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment