gerasim9
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by gerasim9
-
-
Hello!
1) div moves to 200 pixels to the right and takes the position 300px - it's ok
2) and next div moves to 50 pixels to the left - why? I thought it was specified the absolute position (left:50px)
And how I can move the block to the absolute position (left:50px) at the second tween (if the first tween use "x:..." )var logo = document.getElementById("elem"); new TweenMax(logo, 2, {x:200}); new TweenMax(logo, 2, {css:{left:"50px"}}).delay(2); ...... <div style="left: 100px; top: 100px; position:absolute;" id="elem">blablabla</div>
Changing position by 2 ways (x and left)
in GSAP
Posted
OSUblake, Carl - thank you!