Template:Kyoto/css/top
From 2014.igem.org
(Difference between revisions)
Line 50: | Line 50: | ||
float: right; | float: right; | ||
margin-right: 350px; | margin-right: 350px; | ||
+ | opacity: 0; | ||
+ | transition: opacity 0.5s; | ||
+ | -webkit-transition: opacity 0.5s; | ||
+ | -moz-transitiopn: opacity 0.5s; | ||
+ | -o-transition: opacity 0.5s; | ||
+ | -ms-transition: opacity 0.5s; | ||
} | } | ||
Line 61: | Line 67: | ||
float: left; | float: left; | ||
margin-left: 385px; | margin-left: 385px; | ||
+ | opacity: 0; | ||
+ | transition: opacity 0.5s; | ||
+ | -webkit-transition: opacity 0.5s; | ||
+ | -moz-transitiopn: opacity 0.5s; | ||
+ | -o-transition: opacity 0.5s; | ||
+ | -ms-transition: opacity 0.5s; | ||
} | } | ||
Line 85: | Line 97: | ||
.kyoto-fade:hover > div { | .kyoto-fade:hover > div { | ||
opacity: 0.9; | opacity: 0.9; | ||
+ | } | ||
+ | |||
+ | .kyoto-fade:hover img { | ||
+ | opacity: 1: | ||
} | } | ||
Revision as of 16:07, 9 October 2014