has(> .pink):hover > *:not(:hover) {
background: white;
}
parent of pink, hover any, others change
:has(> .pink) > *:not(.pink) {
background: white;
}
siblings of pink get white bg: parent of pink all children except pink white bg
learn • do • know
has(> .pink):hover > *:not(:hover) {
background: white;
}
parent of pink, hover any, others change
:has(> .pink) > *:not(.pink) {
background: white;
}
siblings of pink get white bg: parent of pink all children except pink white bg