r/csshelp • • Jul 06 '23

ANCHOR ELEMENT HOVER ANIMATION USING text-shadow, display and overflow hidden

Hey I saw this effect on leonardo.ai where when you hover over a link or button text it rolls up to reveal a deeper color font. I think they are using text-shadow to achieve this. They are hiding the overflow and making the display: inline-flex. I am seeking help as I was unable to replicate this effect on my own. Any help is appreciated.

2 Upvotes

5 comments sorted by