It is a completely work on ie9 and ie10. other browsers are working fine.

/*** Only IE 9***/
@media screen and (min-width:0\0) and (min-resolution: .001dpcm) { 
  .ie9{property:value;}
}

/*******Only IE 9 and above ******/ 
@media screen and (min-width:0\0) and (min-resolution: +72dpi) {
  .ie9up{property:value;}
}

/****** IE 9 and IE 10 *****/
@media screen and (min-width:0\0) {
    .ie910{property:value\9;} /* backslash-9 removes ie11+ & old Safari 4 */
}

/********* IE 10 and above *******/
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
   .ie10up{property:value;}
}