cssinternet-explorer-9

Need hack for ie9 only


Is there a hack to target IE9 only? I am facing a problem in IE9 only, other browsers are working fine. I am using \9, but it is effecting IE8 as well.

I don't want to use conditional comments.


Solution

  • You can use this :root #element { color:pink \0/IE9; } /* IE9 + IE10pp4 */