im trying to change the background a siblings div while hovering on the child that exist inside the parent
<div class="parent-container">
<div class="child-container-upper">
</div>
<div class="child-container-bottom">
</div>
</div>
im able to change the background of my bottom-container > upper-container
.child-container-upper {
&:hover {
~.child-container-bottom{background:purple}
}
}
I want while hovering on the bottom-container to effect to upper but it dosent seem to work.
Suggestions?