Last update at 20 · 12 · by milo
‧‧‧ One of 33In IE9 and lower, you could use conditional comments to load an IE-specific stylesheet for any version (or combination of versions) that you wanted to specifically target.
Beginning in version 10, conditional comments are no longer supported in IE. But for the few remaining cases when IE 10 and 11-specific CSS is required, there are still a few ways to target those browsers specifically:
/* Internet Explorer 10-11 */
_:-ms-input-placeholder, :root .selector { property:value; }
Media query for IE 10+
/* Internet Explorer 10-11 */
@media screen and (-ms-high-contrast:active),
(-ms-high-contrast:none) {
.selector { property:value; }
}