This question has already been answered:

Internet Explorer 10 does not support conditional comments. Hence the question: how to write the CSS content for Internet Explorer 10 only?

Reported as a duplicate by participants of Vadim Ovchinnikov , AK , Denis Bubnov , fori1ton , aleksandr barakin 21 Jan '17 at 13:40 .

A similar question was asked earlier and an answer has already been received. If the answers provided are not exhaustive, please ask a new question .

1 answer 1

Excellent article on this topic: https://www.kobzarev.com/makeup/ie10-css-hacks/

My favorite hack:

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { /* стили только для IE10 и 11 */ }