O
O
Oleg Pugovkin2016-12-08 15:18:24
css
Oleg Pugovkin, 2016-12-08 15:18:24

How to use media queries only for IE11?

How to use media queries only for IE11? Something like


media screen and (max-width: 1000px), (-ms-high-contrast: active), (-ms-high-contrast: none)
does not work.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Z
zooks, 2016-12-08
@Heretic888

IE11 doesn't understand conditional comments.
Assuming that -ms- prefixes are only readable by IE, paste the code in the main style.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question