How to Target Internet Explorer 10 and 11 in CSS

Logic taken from here:

-ms-high-contrast supports two values: none and active. So to target IE10+ regardless of the property’s setting, use this media query:

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


Tags: , ,

No comments yet.

Leave a Reply