sigil88
4/6/2017 - 8:19 AM

Target IE versions with media queries instead of using a whole separate stylesheet

Target IE versions with media queries instead of using a whole separate stylesheet



@supports (-ms-accelerator:true) {
  /* IE Edge 12+ CSS styles go here */ 
}

/*IE10+ */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
     /* IE10+ CSS styles go here */
}


/*separate stylesheet for lower */

<!--[if IE]>
  <link rel="stylesheet" type="text/css" href="all-ie-only.css" />
<![endif]-->