I\'m trying to make a CSS selector that matches all links except the hovered one. Naturally I though of using the ~ operator to catch around elements:
~
Demo (with green and red color)
css
a { color: #f00; } div { display: inline-block; } #scope1:hover > a, #scope2:hover > a{ color : #0f0; } #scope1 a:hover, #scope2 a:hover { color : #f00 ; }