gpt4 book ai didi

CSS 选择器属性 *= IE8 支持

转载 作者:行者123 更新时间:2023-11-28 18:22:04 26 4
gpt4 key购买 nike

我注意到 selectivizr 不支持使用 jQuery 的 [attr*=]。

关于如何在 ie8 中支持以下选择器有什么想法吗?

a:not([class*="st-"])

最佳答案

引自 w3schools :

Note: IE8 and earlier do not support the :not selector.

我相信这是唯一在 IE8 中不起作用的部分。

The [attribute*=value] selector is supported in all major browsers.

Note: For this selector to work in IE8 and earlier, a <!DOCTYPE> must be declared.

所以如果你有 Selectivizr 来修复 :not()部分,我不明白为什么它不应该工作。

关于CSS 选择器属性 *= IE8 支持,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16610843/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com