Is it possible?
I have many divs with text that have different width. I want them to move at the same animation speed. This is my code:
startRolling: function($text, $wrap) {
let duration = $wrap.width() / 40;
TweenMax.to($wrap, duration, {
x: -($text.width()),
ease: Linear.easeNone,
repeat: -1
});
}
So this doesn't work, and setting the duration manually to for instance .9 obviously doesn't work.
Thanks!