Template:CSS/team

From 2014.igem.org

(Difference between revisions)
Line 92: Line 92:
border-radius:100px;
border-radius:100px;
}
}
-
.gaurav1{
+
 
-
width:100px;
+
 
-
height:100px;
+
.pic{
-
position:relative;
+
-
top: 0px;
+
-
left:0px;
+
-
z-index:50;
+
-
}
+
-
#gaurav1{
+
position:absolute;
position:absolute;
top:0px;
top:0px;
Line 107: Line 101:
height:100px;
height:100px;
border-radius:100px;
border-radius:100px;
 +
}
 +
.picbig{
 +
position: absolute;
 +
width:0px;
 +
-webkit-transition:width 0.3s linear 0s;
 +
transition:width 0.3s linear 0s;
 +
z-index:10;
 +
}
 +
.pic:hover + .picbig{
 +
width:300px;
}
}

Revision as of 16:28, 26 September 2014