Share Posted July 15, 2017 Hi Is it possible to add a staggerTo or staggerFrom to all the lines of text in a paragraph programmatically? I appreciate I could wrap all the lines in spans, but it's part of a piece of text that won't be fixed in size, so the number of lines will change dependent on device, window size. Also, is this a bad idea generally in terms of performance? I've included a codepen above with two paragraphs that are part of a stagger, but I was wondering about having each line stagger (note: if it is possible I would put all the text within one element / #id. I just did two elements in the example so i had something to stagger). Any ideas / suggestions welcome. Emily See the Pen OgqYEO by emilychews (@emilychews) on CodePen Link to post Share on other sites
Share Posted July 15, 2017 Have you seen the SplitText plugin? https://greensock.com/SplitText?sub-product=splittext Happy tweening. 3 Link to post Share on other sites
Author Share Posted July 15, 2017 Oh my. Time for a club Greensock membership me thinks. Thanks for the info. 2 Link to post Share on other sites
Share Posted July 15, 2017 Yes - SplitText is only the beginning. The Club has many cool plugins that you'll get with membership. They really save you a lot of time so membership pays for itself quickly too. https://greensock.com/club Happy tweening. 4 Link to post Share on other sites