The default link style looks horrible on any web page but thankfully we have seen there are many awesome ways to style your link element. In today’s snippet designed by Thomas Aufresne we have 17 different styles to choose from.
The styles you can choose have the following effect on hover
- underline stretches from left to right, and on moving away the line moves away from left to right
- underline stretches from center to tips, and on moving away the line shrink from ends to the center
- underline stretches from left to right, and on moving away the line moves away from right to left
- underline stretches from left to right, and on moving away the line moves away from left to right
- underline appears into view, and on moving away the line fades away
- underline stretches from edges to center, and on moving away the line moves away from the center
- top and bottom, left to right + reverse
- top and bottom, left to right
- top and bottom, right to left
- top and bottom tips to center
- top and bottom, appears and disappears
- top and bottom, left to right + reverse
- top and bottom, tips to center
- button effect, center to edges
- button effect, symmetrical
- button effect, simultaneous
- button effect, side by side
If you are having trouble with the pen, try the archived copy on GitHub
See the Pen Links / Buttons hover animations by Thomas Aufresne (@origine) on CodePen.0