r/csshelp • u/arnabiscoding • 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
View all comments
Show parent comment
2
u/be_my_plaything Jul 06 '23
Good point!