css detect microsoft edge code example
Example: edge media query
For Internet Explorer
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
.banner-wrapper {
background: rgba(0, 0, 0, 0.16);
}
}
For Edge
@supports (-ms-ime-align:auto) {
.banner-wrapper {
background: rgba(0, 0, 0, 0.16);
}
}