Template:CSS/team

From 2014.igem.org

(Difference between revisions)
Line 578: Line 578:
width:100px;
width:100px;
height:100px;
height:100px;
-
 
-webkit-transition:all 0.3s linear 0s;
-webkit-transition:all 0.3s linear 0s;
-
 
+
}
 +
.pic3{
 +
position:absolute;
 +
top:5px;
 +
left:230px;
 +
width:100px;
 +
height:100px;
 +
-webkit-transition:all 0.3s linear 0s;
 +
}
 +
.pic4{
 +
position:absolute;
 +
top:5px;
 +
left:330px;
 +
width:100px;
 +
height:100px;
 +
-webkit-transition:all 0.3s linear 0s;
 +
}
 +
.pic5{
 +
position:absolute;
 +
top:5px;
 +
left:430px;
 +
width:100px;
 +
height:100px;
 +
-webkit-transition:all 0.3s linear 0s;
 +
}
 +
.pic6{
 +
position:absolute;
 +
top:5px;
 +
left:530px;
 +
width:100px;
 +
height:100px;
 +
-webkit-transition:all 0.3s linear 0s;
 +
}
 +
.pic7{
 +
position:absolute;
 +
top:5px;
 +
left:630px;
 +
width:100px;
 +
height:100px;
 +
-webkit-transition:all 0.3s linear 0s;
}
}
-
 
+
.pic1:hover+.pic2+.pic3+.pic4+.pic5+.pic6+.pic7{
-
.pic1:hover+.pic2{
+
-webkit-transition:all 0.3s linear 0s;
-webkit-transition:all 0.3s linear 0s;
transform: translate(100px,0);
transform: translate(100px,0);

Revision as of 00:42, 16 October 2014