Template:CSS/team

From 2014.igem.org

(Difference between revisions)
Line 525: Line 525:
top:10px;
top:10px;
left:30px;
left:30px;
 +
}
 +
 +
.smallpic{
 +
width:100px;
 +
height:100px;
 +
border-radius:100px;
 +
z-index:52;
 +
}
 +
 +
.picdescription{
 +
position: absolute;
 +
left:100px;
 +
top:-120px;
 +
width:0px;
 +
border-radius:200px;
 +
-webkit-transition:width 0.3s linear 0s;
 +
z-index:52;
 +
}
 +
 +
.smallpic:hover + .picdescription{
 +
width:300px;
 +
border-radius:200px;
}
}
</style>
</style>
</html>
</html>

Revision as of 17:30, 15 October 2014