CSS Change background parent of element

Posted by bratna on Stack Overflow See other posts from Stack Overflow or by bratna
Published on 2010-03-24T03:16:12Z Indexed on 2010/03/24 3:23 UTC
Read the original article Hit count: 347

Filed under:

I have some problem that i want to change it with css

<div class="a">
   <div class="b">
    <span></span>
  </div>
  <div class="c">
   <span></span>
  </div>
  <div class="d">
   <span class="e"></span>
  </div>
</div>

I want to change background of div.b and div.c by using span.e
Please help me.
Thanks

© Stack Overflow or respective owner

Related posts about css