Template:CSS/style

From 2014.igem.org

(Difference between revisions)
Line 212: Line 212:
 +
 +
.rotate{
 +
    -webkit-transition-duration: 0.8s;
 +
    -moz-transition-duration: 0.8s;
 +
    -o-transition-duration: 0.8s;
 +
    transition-duration: 0.8s;
 +
   
 +
    -webkit-transition-property: -webkit-transform;
 +
    -moz-transition-property: -moz-transform;
 +
    -o-transition-property: -o-transform;
 +
    transition-property: transform;
 +
   
 +
    overflow:hidden;
 +
 +
    } 
 +
 +
.rotate:hover 
 +
{
 +
    -webkit-transform:rotate(360deg);
 +
    -moz-transform:rotate(360deg);
 +
    -o-transform:rotate(360deg);
 +

Revision as of 09:39, 29 May 2014