Logic taken from here: https://philipnewcomer.net/2014/04/target-internet-explorer-10-11-css/ -ms-high-contrast supports two values: none and active. So to target IE10+ regardless of the property’s setting, use this media query:
Viewing 1 to 3 of 3 items
Internet Explorer – Version specific css rules
Amazing article published here originally: http://keithclark.co.uk/articles/moving-ie-specific-css-into-media-blocks/media-tests/ Exclusively targeting IE browsers Style rules defined in the following blocks will only be applied in IE, other browsers will ignore them. Rule IE 6 IE 7 IE 8 IE 9 IE 10 @media screen\0 {…} No No Yes Yes Yes @media screen\9 {…} Yes Yes No No No @media Full Article…
Internet Explorer specific CSS
As much as we don’t like to deal with the IE bugs, we still have to face it because your boss and visitors are still using Explorer. It gets frustrating when different versions of Explorer displays web pages differently due to the inconsistent rendering engine. We typically use IE conditional comments to fix the IE Full Article…