Created
October 23, 2012 18:51
-
-
Save Ricardo-Diaz/3940768 to your computer and use it in GitHub Desktop.
CSS: Underline Inline Link Effect
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
//Underlined Inline Link | |
//This is some dummy text to show an inline link. | |
//Link will have dashes that transform into dotted over hover. | |
.inline-link-2 { | |
display: inline-block; | |
border-bottom: 1px dashed rgba(0,0,0,0.4); | |
/* Font styles */ | |
text-decoration: none; | |
color: #777; | |
} | |
.inline-link-2:hover { border-bottom-style: dotted; } | |
.inline-link-2:active { border-bottom-style: solid; } | |
.inline-link-2:visited { border-bottom: 1px solid #97CAF2; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment