I've following HTML, the div .info
has display:none
by default, I want to change that to display:block
on hover. I'm trying following CSS but the :hover
does not work.
HTML:
<div id="items">
<div class="item">
<a href="#">
<div clas="info">
</div>
</a>
</div>
</div>
CSS
#items .item a .info{
display: none;
}
#items .item a .info:hover{
display: block;
}
JSFiddle: http://jsfiddle.net/qcDtF/
Thanks.