Difference between revisions of "Team:ETH Zurich/homeStyleCss"
Line 184: | Line 184: | ||
} | } | ||
#homeMainContainer img { | #homeMainContainer img { | ||
− | transition: width 1s,transform 1s; | + | transition: width 1s,transform 1s,opacity 1s; |
+ | opacity:1; | ||
} | } | ||
#homeMainCaption { | #homeMainCaption { | ||
Line 239: | Line 240: | ||
<style id="mainState1"> | <style id="mainState1"> | ||
#homeMainContainer img { | #homeMainContainer img { | ||
− | transform: translate3d(- | + | transform: translate3d(-60%,-55%,0); |
+ | width:5000%; | ||
+ | opacity:0; | ||
} | } | ||
</style> | </style> | ||
Line 245: | Line 248: | ||
#homeMainContainer img { | #homeMainContainer img { | ||
transform: translate3d(-50%,0,0); | transform: translate3d(-50%,0,0); | ||
+ | width:100%; | ||
} | } | ||
</style> | </style> |
Revision as of 13:02, 14 September 2015