I know that this can be done when the objects are siblings of eachother or one is a child. But how could one achieve this effect when that is not the case?
Since this couldn't be done via the parent or sibling method (at least as far as I am aware), I turned to the internet but couldn't find any sensible solutions.
<div class="x">
<div class="y">
<div class="z">
<p class="hover-me"></p>
</div>
</div>
</div>
<div class="the-hover-should-effect-me"></div>
I expect the code to at the hover of .hover-me
make me change .the-hover-should-effect-me
, which as they aren't siblings or children I have yet to be to do.