Jump to content
GreenSock

Cario

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by Cario

  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
×