📜  css 除 self 之外的所有其他元素 - CSS 代码示例

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

代码示例1
/*
    This selector gets all the elements under their shared parent and
    checks if they are NOT hovered.
*/
parentelement:hover > *:not(:hover) {}