Jump to content
Search Community

aboutjquery

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by aboutjquery

  1. hello, thanks for this awesome GSAP :)

     

    i have one question, a simple code as below

        var tl = new TimelineLite();
        TweenMax.set($a, {autoAlpha: 0, display: 'none', top: 100});
        tl.staggerTo($a, 1, {autoAlpha: 1, top: 0, display: ''}, 0.2);
        tl.play();

    staggerFrom seem better for my code but i cant get it work, i will try again late :)

     

    so now i set the $a property by TweenMax first.

     

    if i set the property by css file not by TweenMax, and then play with TimelineLite, will i get the nice performance from gsap too?

     

    e.g set translate, opacity, z-index, scale etc

     

    any different between set property from css / TweenMax? which one is better?

     

    sorry for my language skill, thanks so much :)

     

×
×
  • Create New...