I would like to know how I can make the : hover event in one element take effect in another ... I have the following code:
<ul>
<a href="#">
<li>
<div id="search-image"><img src="images/image.jpg"/></div>
<h1>Título</h1>
<div id="search-bottom">
<p class="price"><b>R$</b> XXX</p>
<p class="deal">Texto</p>
<p class="date">xx/xx/xx</p>
</div>
</li>
</a>
</ul>
I would like to put a border and change the color of the title h1
by having the hover effect on the <li>
element.