Ive been searching for a way for the child in this code to affect the brother on hover and cant seem to get it work.
<body>
<div id="parent">
<div id="child"></div>
</div>
<div id="brother"></div>
</body>
Ive tried the following css and it does not work
#child:hover + #parent #brother{
backgroundcolor: red;
}
Is it even possible to affect the brother while hovering on a child? It already is a little bit complicated doing a child to parent hover.