My goal is to have a specific CSS media query which just applies for Internet Explorer 11. I tried the following with no luck:
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
...
}
Does anybody know how to do this properly so it works? If I add something there it does not change anything at all in IE11.
Thanks a lot
Michael
Hey Michael,
It looks like the media queries are different depending on which version you are using? Maybe this will help you out? https://stackoverflow.com/questions/28417056/how-to-target-only-ie-any-version-within-a-stylesheet
Best regards,
Rikard
Hi Rikard
Thanks – I have been looking through this and other sources already.
For some reason it does not work while inside Quick CSS.
If there is no other way to solve it or something else that I am missing, you can close this thread please.
Thanks
Michael
Hi Michael,
Maybe you need to check the browser with JavaScript and add some css with it if media queries do not apply.
Best regards,
Victoria
Thanks Victoria for the tip – you can close this thread please.