Business is as follows, I have a div
that holds my li
, and within these li
has an image and three li
with texts, my goal is to make, when the mouse is passed in % change, and the text also changes the color, even if you do not move the mouse over them, good and so for the image also when the mouse is passed through the texts, giving the li
effect % in images
<ul>
<li>
<a href="javascript:void(0);">
<div class="box">
<ul>
<li><img src="images/fundo.png" border="0"/></li>
<li><h1>FUNDOS</h1></li>
<li><span>FUNDOS PARA XAT</span></li>
<li><a href="#">VER MAIS</a></li>
</ul>
</div>
</a>
</li>
</ul>
<style>
ul li{
float:left;
}
ul li .box{
width: 200px;
height:200px;
}
ul li .box ul li img{
width: 100%;
height:100%;
}
.box ul li:hover img {
background: url(../images/fundo-hover.png) no-repeat;
}
.box ul li:hover h1,
.box ul li:hover span,
.box ul li:hover a{
color: red;
}
</style>