更新时间:2023-12-01 23:42:10
考虑到您正在使用css3,请查看:not pseudo-class。
Considering you are working with css3, have a look at the :not pseudo-class.
像
:not(xelem) { /* ... */ }
应该可以工作...
使元素不受CSS规则的影响
CSS / JQuery悬停只影响已恢复的元素,而不是父
CSS规则来选择不包含元素的元素