Multiple elements different end values in GSAP Posted June 5, 2014 Hi, Is it possible to animate all elements and get different end values from each element, as example something like: TweenMax.fromTo('#logo div', 1, {backgroundColor: "#ff0000"}, {backgroundColor: this.data('bgColor')}); Where the "this" is each div in the #logo element. I could achieve this with a for loop but I was wondering if there was a way to one line this. Cheers, Mark 1
Multiple elements different end values
in GSAP
Posted
Hi,
Is it possible to animate all elements and get different end values from each element, as example something like:
Where the "this" is each div in the #logo element.
I could achieve this with a for loop but I was wondering if there was a way to one line this.
Cheers,
Mark