Created
July 29, 2014 20:00
-
-
Save seanwalsh/07fa0776619fb0c24557 to your computer and use it in GitHub Desktop.
Wired style underlined anchor with a little flare.
This file contains 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
// Variables | |
$a-highlight: yellow; | |
// Sass | |
.highlight-a a { | |
background-color: inherit; | |
border-bottom: 1px solid $a-highlight; | |
box-shadow: inset 0 -4px 0 $a-highlight; | |
color: inherit; | |
text-decoration: none; | |
transition: background-color 2s; | |
&:hover, &:active { | |
background-color: $a-highlight; | |
transition: background-color 2s; } | |
} // .hightlight-a a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment