Created
March 27, 2017 21:37
-
-
Save AdamSoucie/dec64d6513e1113b5b860a6b34206283 to your computer and use it in GitHub Desktop.
Link with Gradient Underline
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
(content body class) a | |
{ | |
display: inline-block; | |
text-decoration: none; | |
text-shadow: | |
0.05em 0 0 white, -0.05em 0 0 white, | |
0 0.05em 0 white, 0 -0.05em 0 white, | |
0.1em 0 0 white, -0.1em 0 0 white, | |
0 0.1em 0 white, 0 -0.1em 0 white; | |
background-image: linear-gradient(to right, black 0%, black 100%); | |
background-repeat: repeat-x; | |
background-position: bottom 0.05em center; | |
background-size: 100% 0.1em; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment