Hi GSAP Expert,
I need your help to correct my demo. I am trying to make text fill up demo where text can have before and after fillup color (defined by editor).
e.g. I have created demo https://codepen.io/Gourav-Makhija/pen/xxmjxrq
Problem: On click of button background color need to fill with gradient effect.
e.g.
If we open https://cssgradient.io/ and put color #fc0000 and #3f51b5 and change slider from 0 to 100% for #3f51b5 color then same background gradient effect I am trying to put in my demo where
Initial Text color: #fc0000
On button click: Fill up gradient animation linear-gradient(0deg, #FC0000 0%, #3F51B5 (0 to 100%))
After animation completion Text color: #3f51b5
Thanks,