Jump to content
Search Community

amigoface

Members
  • Posts

    12
  • Joined

  • Last visited

Posts posted by amigoface

  1. Hi,

     

    it's a obviousely a simple thing, but i cannot figure out how to at the moment

     

    in the example the image animation start only after the first ends, i want it to start let's say 0.5 second after the first begins

     

    thanks for your help .

    See the Pen LGMBEm by anon (@anon) on CodePen

    • Like 1
  2. Hi,

    i cannot figure out how to make this simple texts slider animation .

     

    my goal is :

    foreach text element, go from the left slowdow at center with velocity, then accelerate to the right .

     

    when the text element  go to the right , i want also to hide the background container and show it again when next text come

     

     

    any help is welcome

     

    thanks and good day

    See the Pen zGvbqv by anon (@anon) on CodePen

  3. since the margin is depending on screen size, how to replace hard coded value with calculated one ?

    something like

    -((screen.height - 20) / 2 ),0,0, -((screen.width - 20) / 2 )
    
  4. hi,

    since it could be simple response i didnt create a codepen :P

     

    so i am animating an element that have this class

    .dlg {
    	top: 50% !important;
    	left: 50% !important;
    	margin: -105px 0 0 -150px;
    	width: 300px;
    	height: 210px;
    }
    
    
      var tm = new TimelineMax();
      tm.to(".dlg", 0.15, { width: screen.width - 20, height: screen.height - 20 });
    

    is it possible to animate the margin at the same time to keep the elemnt screen centered, or maybe there is another way to achive this ?

     

    thanks and good day

×
×
  • Create New...