Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1099029

    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

    #1099478

    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

    #1099547

    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

    #1099815

    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

    #1099827

    Thanks Victoria for the tip – you can close this thread please.

    #1099907

    Hi,

    Thanks for the update, I’ll close this thread for now then. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Specific CSS arguments for IE11’ is closed to new replies.