More work.

This commit is contained in:
2020-01-20 23:31:42 +01:00
parent 8a09e4832b
commit 5938662704
9 changed files with 166 additions and 118 deletions

View File

@@ -2,7 +2,7 @@ var x = window.screen.width > 512 ? 160 : 80;
var controller = new ScrollMagic.Controller();
var hero = new TweenMax.from("#hero", 1, {
var hero = new TweenMax.to("#hero", 1, {
x: this.x,
ease: Power1.easeOut
});