Hover example

Vishalneeraj-24503
Posted by Vishalneeraj-24503 under CSS 3 category on | Points: 40 | Views : 329
The hover selector can be used on all elements,not only on links.
Write below code on anchor tag hover attribute:-
<style>
a:hover
{
background-color: blue;
}
</style>

<a href = "http://www.dotnetfunda.com">dotnetfunda.com</a>

When we move our mouse on link,then its color will be blue.

Comments or Responses

Login to post response