So I'm working on a client site in webflow - http://emma-dodi-final.webflow.io/about
In the about section I'm trying to get the two photos coming in while the text is animating.
For some reason "-=" & "+=" seem to have no effect on this snippet. Elsewhere in the site I've used them and they work perfectly. Anyone know what the deal is?
var tl = new TimelineMax,
mySplitText = new SplitText("#meetEmmaText", {type:"words,chars"}),
chars = mySplitText.chars, //an array of all the divs that wrap each character
emmaPhoto = $('#emmaPhoto'),
flowerPhoto = $('#flowerPhoto');
TweenMax.set("#meetEmmaText", {perspective:400});
tl.staggerFrom(chars, 0.5, {opacity:0, scale:0, y:20, rotation: 20, transformOrigin:"0% 50% -50", ease:Back.easeOut}, 0.01);
tl.staggerFrom(emmaPhoto, 0.9, {opacity:0, scale:0, y:20, ease:Power1.easeOut}, "-=1");
tl.staggerFrom(flowerPhoto, 0.9, {opacity:0, scale:0, y:20, ease:Power1.easeOut}, "-=1");
Thanks in advance