Created
May 24, 2013 13:14
-
-
Save trumball/5643420 to your computer and use it in GitHub Desktop.
Anchor Link Pseudo Classes
Most CSS developers know about the anchor link styles and :hover effects. But I wanted to include this small code snippet as a reference for newcomers. These are the four default states for an anchor link, and also a few other HTML elements. Keep this handy until you can memorize some of the more obscure ones.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a:link { color: blue; } | |
a:visited { color: purple; } | |
a:hover { color: red; } | |
a:active { color: yellow; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment