For IE 9 and below, load the conditional stylesheet:
IE 10 and above does not support this, so you should use media queries:
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
}
For edge 12-15:
@supports (-ms-accelerator:true) {
}
EDIT
For the edge 16+
@supports (-ms-ime-align:auto) {
}
source
share