DEV Community

loading...

Shiny button hover effect with CSS

joeattardi profile image Joe Attardi ・1 min read

This one is based on a shiny button I added to the navigation on my portfolio site.

It's done by having an ::after pseudo element, which is a rotated rectangle, quickly zoom across over the button.

Discussion (0)

pic
Editor guide