Is it possible to have <div>
B affect <div>
A on hover, instead of the other way around? I've only seen code for the reverse using (+) in CSS.
#b:hover + #a {
background: #ccc
}
<div id="a">Div A</div>
<div id="b">Div B</div>
I want Div B to be able to change the appearance of Div A when hovered over. Is there a way to achieve this?