I know that I can detect IE 10+ with the following media query:
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
/* IE10+ CSS styles go here */
}
I helps me write IE specific code if needed. The question is how do I write code for any other browser, except for IE10+? Something like if not @media ... { my code here }
PS: I know these are dirty tricks, but I am totally lost.