a { color: green; text-decoration: none; }
a:hover { color: red; text-decoration: underline; }
a:active{ color: orange; }
a:visited{ color: pink; text-decoration: none; }
by Valeri Tandilashvili
5 years ago
CSS
pseudo-classes
HTML5 and CSS3 beginners tutorials
1
Pro tip: use ```triple backticks around text``` to write in code fences