Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...

mrborgen

Members
  • Posts

    1
  • Joined

  • Last visited

mrborgen's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I'm trying to get the target to tween/animate to a position relative to the viewport or body (or parent element), rather than relative to the element itself. How can I do this? When I run the following code, it Tweens the element (target) to a position relative to its own starting position. TweenLite.to(target, 0.5, { top: '200px', left: '200px'})
×