hover text color css code example
Example 1: how to change hyperlink color in css
a {
background-color: red;
color: white;
padding: 1em 1.5em;
text-decoration: none;
text-transform: uppercase;
}
Example 2: how to chane text color when hover in css
CSS
.link { color: #FF0000; } /* CSS link color (red) */
.link:hover { color: #00FF00; } /* CSS link hover (green) */