How to add a GSAP animation
PreviousHow to crop an image with out cropping the original imageNextBuild Your Own Directory Website with Airtable
Last updated
Was this helpful?
Last updated
Was this helpful?
Add HTML to the canvas
Activate "" setting
Optionally activate "" setting
Open GSAP official
Copy the scripts into HTML Embed Code in Settings
While you can add the library in the HEAD in project settings, this HTML won't run in preview, so you can't test inside the builder. Additionally, if you use async or defer attributes, there is no guarantee that your HTML Embed scripts on the page won't run before the library is loaded. If you don't use defer or async attributes, you will slow down your site by blocking the rendering until the library is loaded.
You can reuse the animation using
Learn more about script scope .