Are There Specific CSS Selectors Targeting IE10?

Posted by kunambi on Stack Overflow See other posts from Stack Overflow or by kunambi
Published on 2011-09-06T13:55:48Z Indexed on 2012/09/28 21:38 UTC
Read the original article Hit count: 782

Since IE is getting rid of conditional comments in version 10, I'm in dire need to find a "CSS hack" targeting IE10 specifically. NB! It has to be the selector that's getting "hacked" and not the CSS-properties.

In Mozilla, you can use:

@-moz-document url-prefix() {
  h1 {
    color: red;
  }
}

While in Webkit, you usually do:

@media screen and (-webkit-min-device-pixel-ratio:0) {
  h1 {
    color: blue;
  }
}

How would I do something similar in IE10?

TYIA.

© Stack Overflow or respective owner

Related posts about css

Related posts about internet-explorer