-
-
Save nocodesupplyco/0fca9e9cb86a229a3b9759200a95ac4f to your computer and use it in GitHub Desktop.
Text Bottom Border Animation on Hover
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
.link::after { | |
content: ''; | |
display: block; | |
width: 0; | |
height: 1px; | |
margin-top:5px; | |
background: #fff; | |
transition: width .3s ease-out; | |
} | |
.link:hover::after { | |
width: 100%; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment