/* for IE10 use this */ html[data-useragent*=' 10.0;'] * { /*color: red;*/ } /* for IE11 use this */ html[data-useragent*=' 11.0;'] * { /*color: blue;*/ }