james182 Posted December 3, 2019 Share Posted December 3, 2019 I am new to GSAP and I am trying to stagger each of the "banners" within the SVG to appear in a certain order and loop in fading in /out. eg. [banner-1, banner-2, banner-3, banner-4] the order should be [4,2,1,3] and repeat. TweenMax.staggerFromTo(" #banner-1, #banner-2, #banner-3, #banner-4", 0.65, {opacity:0, ease:Back.easeOut},{opacity:1, repeat:2, yoyo:false}, 0.5); See the Pen MWYWPPg by james182 (@james182) on CodePen Link to comment Share on other sites More sharing options...
mikel Posted December 3, 2019 Share Posted December 3, 2019 Hey @james182, You could use a negative stagger or change the positions " #banner-4, #banner-2, #banner-1#banner-3," See the Pen JjojzVZ by mikeK (@mikeK) on CodePen Happy tweening ... Mikel 3 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