How do I animate a button like in the example?
I need to make a button like on this site https://www.lucidmotors.com/ , but I just can't think of solution.
I tried replacing one element with another, but with fast repeated hovering, the same effect cannot be repeated.
I don’t want to include libraries for one button, but if you know the right one, I’ll be glad.
I don't know why in the original Convas.
you can for example like this https://codepen.io/zFunx/pen/XRGEor
such animations often use pseudo element animation and overflow: hidden for the parentReece Hinton
To place the code, please use CodePen or similar tool. Thanks you!