The JSFiddle below shows DIV B changing color when I hover on DIV A. But I need the exact opposite: to hover on DIV B and have DIV A change color.
<div id="a">Div A</div>
<div id="b">Div B</div>
#a:hover + #b {
background: #ccc
}
I can't rearrange the raw html elements, they need to stay the same.
Is this possible with CSS, or only Javascript?