walderpeaky87 Posted November 14, 2022 Posted November 14, 2022 Why is mobile optimization so important? Today I rebuilt a site mobile-first after spending the last few days building one with lots of GSAPI interactions. In order to adapt interactions for multiple screen sizes, what is the best way to do it? Would it be better to rewrite GSAPI interactions behind media queries? Should my GSAP be designed to work across all screen sizes. Both of these are going to take a lot of time, so I'm wondering how others approach the matter.
GreenSock Posted November 14, 2022 Posted November 14, 2022 Hi @walderpeaky87! Welcome to the forums. Our very own @Cassie authored a great article about this over on css-tricks.com: https://css-tricks.com/responsive-animations-for-every-screen-size-and-device/ You'll love the new gsap.matchMedia() feature. Have fun!
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