Target Internet Explorer 10 11 with CSS

Glenn Blog Leave a Comment

Here is a really useful CSS Media Query that enables you to target Internet Explorer 10 & 11 (IE10, IE11) with CSS only:-


/* Target IE10+ */
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {

h1 {font-weight: lighter;}
/* add your own CSS here */

}

Simply add media query to your CSS

About the Author
Target Internet Explorer 10 11 with CSS 0da77002febbfe28d15144a57bbcc2c9 s 180 d mm r g

Glenn

A highly experienced Web Designer / Web Developer (Webflow, WordPress, Weebly & Custom), Front-end / Back-end Developer & New Media Specialist, with extensive knowledge of a wide spectrum of technologies in the Development and Creative Industries, built up over a number of years.