Template:CSS/team
From 2014.igem.org
(Difference between revisions)
Line 659: | Line 659: | ||
} | } | ||
.pic1{ | .pic1{ | ||
- | width: | + | width:150px; |
- | height: | + | height:150px; |
position:absolute; | position:absolute; | ||
top:5px; | top:5px; | ||
Line 669: | Line 669: | ||
top:5px; | top:5px; | ||
left:130px; | left:130px; | ||
- | width: | + | width:150px; |
- | height: | + | height:150px; |
-webkit-transition:all 0.3s linear 0s; | -webkit-transition:all 0.3s linear 0s; | ||
} | } | ||
Line 677: | Line 677: | ||
top:5px; | top:5px; | ||
left:230px; | left:230px; | ||
- | width: | + | width:150px; |
- | height: | + | height:150px; |
-webkit-transition:all 0.3s linear 0s; | -webkit-transition:all 0.3s linear 0s; | ||
} | } | ||
Line 685: | Line 685: | ||
top:5px; | top:5px; | ||
left:330px; | left:330px; | ||
- | width: | + | width:150px; |
- | height: | + | height:150px; |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
-webkit-transition:all 0.3s linear 0s; | -webkit-transition:all 0.3s linear 0s; | ||
} | } | ||
+ | |||
.pic1:hover+.pic2{ | .pic1:hover+.pic2{ | ||
-webkit-transition:all 0.3s linear 0s; | -webkit-transition:all 0.3s linear 0s; | ||
- | transform: translate( | + | transform: translate(200px,0); |
- | -webkit-transform: translate( | + | -webkit-transform: translate(200px,0); /** Safari & Chrome **/ |
- | -o-transform: translate( | + | -o-transform: translate(200px,0); /** Opera **/ |
- | -moz-transform: translate( | + | -moz-transform: translate(200px,0); /** Firefox **/ |
} | } | ||
Line 732: | Line 709: | ||
.pic3:hover+.pic4{ | .pic3:hover+.pic4{ | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
-webkit-transition:all 0.3s linear 0s; | -webkit-transition:all 0.3s linear 0s; | ||
transform: translate(100px,0); | transform: translate(100px,0); | ||
Line 766: | Line 719: | ||
.smallpic{ | .smallpic{ | ||
- | width: | + | width:150px; |
- | height: | + | height:150px; |
- | border-radius: | + | border-radius:0px; |
z-index:52; | z-index:52; | ||
border:thin solid grey; | border:thin solid grey; | ||
Line 775: | Line 728: | ||
.picdescription{ | .picdescription{ | ||
position: absolute; | position: absolute; | ||
- | left: | + | left:150px; |
top:0px; | top:0px; | ||
width:0px; | width:0px; | ||
- | height: | + | height:150px; |
- | border-radius: | + | border-radius:0px; |
background-color:red; | background-color:red; | ||
-webkit-transition:all 0.3s linear 0s; | -webkit-transition:all 0.3s linear 0s; | ||
Line 787: | Line 740: | ||
.smallpic:hover + .picdescription{ | .smallpic:hover + .picdescription{ | ||
- | width: | + | width:200px; |
- | height: | + | height:150px; |
- | border-radius: | + | border-radius:0px; |
border:thin solid black; | border:thin solid black; | ||
} | } |
Revision as of 00:14, 17 October 2014