" section.
.text-animate
.To use GSAP's ScrollTrigger and TextPlugin together in Webflow, you'll need to load the External JS files and then initialize your animation using custom code. Here's how to implement both plugins properly.
Go to your Webflow project.
Click the "Pages" icon, choose the page you're working on.
Scroll to the bottom, open the Page Settings, and paste the following inside the Before tag section:
GSAP core: https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.2/gsap.min.js
ScrollTrigger plugin: https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.2/ScrollTrigger.min.js
TextPlugin: https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.2/TextPlugin.min.js
Example (combined):
```html
```
Under the same Before tag section, after the CDN links, add your custom script:
```html
```
text-animate
(or match whatever selector you used in your script).start
and end
positions (e.g., start: "top 80%"
).To use GSAP’s ScrollTrigger and TextPlugin in Webflow, include the necessary CDNs and custom code in your page settings, register both plugins using gsap.registerPlugin(...)
, then apply animations targeting elements with matching class names. Always test on the published version of your site.