fixes
Showing
2 changed files
with
10 additions
and
10 deletions
This diff is collapsed.
Click to expand it.
| ... | @@ -82,9 +82,9 @@ | ... | @@ -82,9 +82,9 @@ |
| 82 | position: absolute; | 82 | position: absolute; |
| 83 | opacity: 1; | 83 | opacity: 1; |
| 84 | bottom:-40px; | 84 | bottom:-40px; |
| 85 | left:50px; | 85 | left:72px; |
| 86 | display: inline-block; | 86 | display: inline-block; |
| 87 | width:198px; | 87 | width:155px; |
| 88 | } | 88 | } |
| 89 | #img1 { | 89 | #img1 { |
| 90 | -webkit-box-shadow: -8px 13px 23px -2px rgba(0,0,0,0.2); | 90 | -webkit-box-shadow: -8px 13px 23px -2px rgba(0,0,0,0.2); |
| ... | @@ -125,18 +125,18 @@ | ... | @@ -125,18 +125,18 @@ |
| 125 | 125 | ||
| 126 | <script> | 126 | <script> |
| 127 | 127 | ||
| 128 | var tl = new TimelineMax({repeat:1, repeatDelay:5}); | 128 | var tl = new TimelineMax({repeat:0, repeatDelay:5}); |
| 129 | 129 | ||
| 130 | function stage1(){ | 130 | function stage1(){ |
| 131 | 131 | ||
| 132 | tl.to("#txt1", 2, {opacity:1, delay:0.5 }); | 132 | tl.to("#txt1", 2, {opacity:1, delay:0.5 }); |
| 133 | tl.to("#txt1", 0.7, {opacity:0, delay:1 }, 'first'); | 133 | tl.to("#txt1", 0.7, {opacity:0, delay:1 }, 'text_animation'); |
| 134 | tl.to("#txt2", 1, {opacity:1, css:{top:"65px"}, delay:1 }, 'first'); | 134 | tl.to("#txt2", 1, {opacity:1, css:{top:"65px"}, delay:1 }, 'text_animation'); |
| 135 | tl.to("#txt2", 0.7, {opacity:0, delay:4 }, "first"); | 135 | tl.to("#txt2", 0.7, {opacity:0, delay:4 }, "text_animation"); |
| 136 | tl.to("#img2", 1, {top:'20px', delay:4}, "first"); | 136 | tl.to("#img2", 1, {top:'20px', delay:4}, "text_animation"); |
| 137 | tl.to("#img2", 1.5, {css:{scale:0.45,top:"10px"}, delay:2}, "scale"); | 137 | tl.to("#img2", 1.5, {css:{scale:0.43,top:"10px"}, delay:2}, "scale_animation"); |
| 138 | tl.to("#img1", 1.5, {css:{scale:0.45,top:"-85px"}, delay:2}, "scale"); | 138 | tl.to("#img1", 1.5, {css:{scale:0.43,top:"-85px"}, delay:2}, "scale_animation"); |
| 139 | tl.to("#txt3", 0.5, {css:{bottom:"7px"}, delay:3}, "scale"); | 139 | tl.to("#txt3", 0.5, {css:{bottom:"12px"}, delay:3}, "scale_animation"); |
| 140 | 140 | ||
| 141 | } | 141 | } |
| 142 | 142 | ... | ... |
-
Please register or sign in to post a comment