On many sites, such as http://notes.envato.com/ you'll notice that when the links are hovered over, they will fade into a different color as opposed to immediately switching, the default action. How to do that ?
I have tried HTML:
<ul class="icons">
<li class="flickr">
<a href="http://flickr.com/photos/we-are-envato" rel="external" title="Flickr">
<img src="img/flickr.png" target="_blank">
</a>
</li>
</ul>
CSS:
ul.icons {
position: absolute;
top: 95px;
right: 0;
z-index: 100;
}
li {
display: inline;
padding: 5px;
}
li a {
list-style: none;
text-decoration: none;
}
li.flickr a {
height: 50px;
width: 50px;
}
li.flickr a:hover {
color: #A5BA84;
}
Can anyone tell me how to set the effect ?