Created
October 24, 2020 17:14
-
-
Save exuanbo/115d6d91c6e73d74dfbc0f4a690e6127 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 { | |
background-image: linear-gradient(120deg, #fc0 0%, #fc0 100%); | |
background-position: 0 100%; | |
background-repeat: no-repeat; | |
background-size: 100% 0; | |
border-bottom: 2px solid #fc0; | |
text-decoration: none; | |
transition: background-size .125s ease-in; | |
} | |
a:hover { | |
background-size: 100% 100%; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment