📜  边缘媒体查询 - CSS 代码示例

📅  最后修改于: 2022-03-11 14:47:34.984000             🧑  作者: Mango

代码示例1
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);
      }
}