Is it possible to change the color of the second class to white when the first class is hovered over?
<div class="diva">This is the first class</div>
<div class="divb">This is the second class</div>
<style>
.diva:hover + .divb {
color:#fff;
}
</style>
I've tried the above code but it doesn't seem to work. Any suggestions on how to make it work?