kku98057 Posted March 7, 2022 Share Posted March 7, 2022 i want In the PC version, no have pin and In the Mob version, hove pin However, the animation overlaps or does not work. How can I separate the two animations, the PC version and the mob version? See the Pen WNXWNJo by kku98057 (@kku98057) on CodePen Link to comment Share on other sites More sharing options...
mvaneijgen Posted March 7, 2022 Share Posted March 7, 2022 Have you seen https://greensock.com/docs/v3/Plugins/ScrollTrigger/static.matchMedia() you can write media queries like you do in CSS to change the animation based on screen size 2 Link to comment Share on other sites More sharing options...
kku98057 Posted March 8, 2022 Author Share Posted March 8, 2022 @mvaneijgen oh!! I solved it perfectly. Thank you very mach 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