Jump to content
GreenSock

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

Cario

Members
  • Posts

    1
  • Joined

  • Last visited

Cario's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. apparently clearProps deletes previously set (inline) transform properties of an element... is there a way to revert back to element's original inline styles? HTML: <div id="el" style="-webkit-transform: rotate(45deg);">blabla</div> JS - tween: TweenMax.to("#el", 2, {rotation:125}); JS - clearProps: TweenMax.killTweensOf("#el"); TweenMax.set("#el", {clearProps: "transform"}); the result is not as expected, element rotation is at 0 degrees instead of 45 degrees
×