vcs Posted March 26, 2022 Share Posted March 26, 2022 How to make gsap animations mobile friendly? Link to comment Share on other sites More sharing options...
GreenSock Posted March 26, 2022 Share Posted March 26, 2022 @vcs GSAP animations are mobile friendly . They work the same on mobile and desktop. Are you asking how to make things animate DIFFERENTLY on mobile than desktop? If so, just use window.matchMedia() with conditional logic in your code. It should be pretty straightforward but if you get stuck, post a minimal demo and we'll take a peek. If you're using scroll-triggered animations, you can leverage ScrollTrigger.matchMedia(). Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now