I have a scenario with a code like this
 <li>
  <span class="text">some text goes here</span>
  <div class="icon-wrapper">
    <span class="icon icon1"></span>
    <span class="icon icon2"></span>
  </div>
 </li>
Now all I need is
- If I hover on icon1 class, both the .text(class) and .icon1(class) should change its background color respectively.
- Similarly if I hover on icon2, .text,.icon1 and .icon2 should change its background color.
I am familiar with combinator selectors in CSS but not able to implement in this case. Here is the screenshot:


 
     
     
    