Is there an opposite CSS pseudo-class to :hover?
Yes, use :not(:hover) Show code snippet Another example; I think you want to: “when one is hovered, dim all other elements”. If my assumption is correct, and assuming all your selectors are inside the same parent: Show code snippet Otherwise… simply use the default logic: