We know it’s better to use feature detection rather than parsing user agent strings to determine a browser version. But there are some cases where you know a bug only exists in a specific version and you need an html class selector to target the suspect browser.

IE conditional statements are great for that, except for when you want to target a version of IE 10 or later; IE conditional statements stopped with IE 9.

Using Modernizr and CanIUse, I cross referenced some CSS features and found you can use this selector to style only IE 10.

html.no-smil.no-borderimage { /* styles only for IE 10 */ }