Check out example codes for "css for internet explorer only". It will help you in understanding the concepts better.

Code Example 1

@media all and (-ms-high-contrast: none), 
               (-ms-high-contrast: active) {
  /* IE10+ CSS styles goes underneath */
  #ie11 h2 {
    color: #fff;
  }
  #ie11 h2:hover {
    color: gray;
  }
}

Code Example 2

@media all and (-ms-high-contrast:none)
     {
     .foo { color: green } /* IE10 */
     *::-ms-backdrop, .foo { color: red } /* IE11 */
     }

Learn ReactJs, React Native from akashmittal.com