Hi, I am new in GSAP, I want to create a section where text background image will change while scrolling and at the same time the text should scale out.
Both are working one by one but not together.
In the demo it works, but if I uncommented these lines in the css:
Scroll Text Background Image and Scale the Text at the same time
in GSAP
Posted
Hi, I am new in GSAP, I want to create a section where text background image will change while scrolling and at the same time the text should scale out.
Both are working one by one but not together.
In the demo it works, but if I uncommented these lines in the css:
/* color: transparent; */
/* background-clip: text; */
/* -webkit-background-clip: text; */
/* -webkit-text-fill-color: transparent; */
it is not working.
See the Pen wvXjMPg by antonia-markova (@antonia-markova) on CodePen