Created
January 19, 2017 18:58
-
-
Save tomhayes/cc99630145b853e0df377787ff1224ab to your computer and use it in GitHub Desktop.
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
a { | |
position: relative; | |
padding-bottom: 2px; | |
text-decoration: none; | |
} | |
a:hover::after { | |
content: ""; | |
position: absolute; | |
bottom: 2px; | |
left: 0; | |
height: 1px; | |
width: 100%; | |
background: #444; | |
background: linear-gradient(left, transparent 0%,#444 50%,transparent 100%); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment