Team:NCTU Formosa/source/head-index
From 2014.igem.org
(Difference between revisions)
Line 524: | Line 524: | ||
width: 150px; | width: 150px; | ||
overflow: hidden; | overflow: hidden; | ||
+ | } | ||
+ | .picturebox { | ||
+ | height: 300px; | ||
+ | width: 150px; | ||
} | } | ||
.upperbox, .lowerbox { | .upperbox, .lowerbox { | ||
Line 529: | Line 533: | ||
width: 150px; | width: 150px; | ||
height: 150px; | height: 150px; | ||
+ | } | ||
+ | |||
+ | .pictureContainer .picturebox { | ||
+ | position: relative; | ||
+ | top: 0px; | ||
+ | |||
+ | transition: top .2s ease-in-out; | ||
+ | } | ||
+ | .pictureContainer .picturebox:hover { | ||
+ | top: -150px; | ||
} | } | ||
Revision as of 12:30, 22 September 2014