Jump to content
GreenSock

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

ehow

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by ehow

  1. Hi all,

     

    I'd like to know if its possible to use TweenMax/Lite with a predefined CSS rule, something like this:

     

    .someClass

    {

         left: 20px;

         top: 50px;

    }

     

    TweenLite.to( myDomElement, 0.5, { someClass });

     

    In this way I could lay out a bunch of scenarios and animate to them as needed.

     

    Thanks!

×