We would like to know how to change anchor text color when hover.
<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
a {<!-- w ww . ja v a 2s .c o m-->
-moz-transition: all 0.25s;
-webkit-transition: all 0.25s;
transition: all 0.25s;
color: black;
}
a:hover {
color: red;
}
</style>
</head>
<body>
<a href="">Link</a>
<a href="">Link</a>
<a href="">Link</a>
<a href="">Link</a>
</body>
</html>
The code above is rendered as follows: