Is it possible (how would I) to make a hover effect multiple elements at the same time differently?
Example. If I were to scroll over a link in a navbar is it possible to have the background of the link change colors while having an image (located somewhere else on the site) "tilt" at the same time. And vice versa so if I were to hover over the image the background of the link would change colors.
Here is the code in a fiddle: http://jsfiddle.net/P2CkK/
<body>
<div class="col3">
<ul class="nav">
<div class="about">
<li><a href="#">About Us</a></li>
</div>
<div class="team">
<li><a href="#">Our Team</a></li>
</div>
</ul>
<div class="col3 about">
<img src="img/black.jpg" width="200px">
</div>
<div class="col3 team">
<img src="img/red.jpg" width="200px">
</div>
a
elements, and CSS has no parent-selector. This would require JavaScript.