How to create link that changes color when hovering mouse over it


This is quite simple all we need to do is to use the pseudo classes to achieve this effect.
Here is how you can achieve this effect

<html>
<a href=”somepage.html”>My Page LInk</a>
</html>

CSS  to change color of link when hovering over it:

<style>
a:hover{color:#FC0;}
</style>

Comments

Popular posts from this blog

How CSS3 Works