I have a table like this:
<div class="footer_row_3">
<table class="tableA">
<tr>
<td><img class="popcorn" src="http://i.imgur.com/HUjq2Va.png"></td>
<td><span class="statement">Lorem Ipsum</span></td>
<td><img class="popcorn" src="http://i.imgur.com/HUjq2Va.png"></td>
</tr>
</table>
</div>
What I want to do is that when the mouse hovers over tableA
at any location within tableA
, the following two changes happen:
- Popcorn images change to this image:
http://i.imgur.com/K29T3Fw.png
- The text color changes to red.
It should have with a CSS 'fade' style
transition
, so that the contents fades into the updated style contents.BOTH changes mentioned above should happen when I hover
tableA
from any place withintableA
.
I know how to individually change text and image on hover, but I don't know how to do it together for multiple items.
How can I achieve this effect ?