From: nael Date: Thu, 20 Dec 2018 14:38:54 +0000 (+0100) Subject: wait #2377 @0.05 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=8476e915729daba9444d5808094af75912a2d6ad;p=Animations.git wait #2377 @0.05 --- diff --git a/AccordHotel-p42/index.html b/AccordHotel-p42/index.html index b6a9545..3f19163 100644 --- a/AccordHotel-p42/index.html +++ b/AccordHotel-p42/index.html @@ -10,7 +10,9 @@
- +
+ +
diff --git a/AccordHotel-p42/main.js b/AccordHotel-p42/main.js index 0efaccc..7102a8e 100644 --- a/AccordHotel-p42/main.js +++ b/AccordHotel-p42/main.js @@ -1,5 +1,6 @@ let tl = new TimelineMax(); tl.from('.img1',1.5,{display: 'none',y: -300},'+=3.3'); -tl.from('.img2',1.5,{display: 'none',y: -341}); -tl.from('.img3',1.5,{display: 'none',y: -497}); +tl.to('.img1',6,{scale:1.1}); +tl.from('.img2',1.5,{display: 'none',y: -341},'-=6'); +tl.from('.img3',1.5,{display: 'none',y: -497},'-=5'); diff --git a/AccordHotel-p42/style.sass b/AccordHotel-p42/style.sass index c697906..832db8f 100644 --- a/AccordHotel-p42/style.sass +++ b/AccordHotel-p42/style.sass @@ -9,6 +9,11 @@ height: 749px .bg position: absolute +.img-contain + overflow: hidden + position: absolute + width: 800px + height: 508px .img1 position: absolute width: 800px