In the past, people could prepare separate css files specifically for different IE versions like so:
<!--[if IE 8]>
<style type="text/css">
/* css for IE 8 */
</style>
<![endif]-->
This is no longer the case, as Microsoft dropped conditional statements since IE 10. What worked for me in one ocassion for IE 11 (without affecting Edge) was using this media query:
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
#selector {
/* styles that will be applied for IE only */
}
}