I try to manipulate the sibling of an element by hovering its sibling element. I do it like that:
.sw_2-technik + .sw_2-emotionen{
background:green;
}
.sw_2-emotionen:hover ~ .sw_2-technik{
background:orange;
}
Whereas the html-structure is kinda like that:
<section class="wrapper">
<div class="sw_2-technik"></div>
<div class="sw_2-emotionen"></div>
</section>
Whilst the first operation works nicely, the second one (.sw_2-emotionen:hover ~ .sw_2-technik) does nothing. What do I do wrong there?
Thanks!