Jump to content
Search Community

strnadj

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by strnadj

  1. Iam trying to create quite complex animation in GSAP and I really need persist / dynamic left css animation, I try several things like array with offsets, function (with current context) instead of value, but it seems they don't accept it... As you can see later on codepen, problem is in this part of code: /** Switch two items */ tl.to(elArray[left], 1, { left: elArray[right].offset().left }); tl.to(elArray[right], 1, { left: elArray[left].offset().left }); Codepen demo is much more simplier than what i really want, but it shows problem well.
×
×
  • Create New...