小编Ami*_*cha的帖子

CSS @supports:将“not”与“and”或“or”混合

我想为支持“显示:网格”但不是 IE/MS Edge 的浏览器提供特定部分的 CSS。你如何混合正面和负面的@support 查询?

你能写“and not”还是有类似的符号?不幸的是,以下方法不起作用。

@supports not (-ms-ime-align:auto) and (display: grid) {
  display: none;
}
Run Code Online (Sandbox Code Playgroud)

css

3
推荐指数
1
解决办法
1369
查看次数

标签 统计

css ×1