Template:CSS/team

From 2014.igem.org

(Difference between revisions)
Line 335: Line 335:
top:20px;
top:20px;
left:75px;
left:75px;
-
border:solid thin grey;
 
}
}
Line 346: Line 345:
left:0px;
left:0px;
border:solid thin grey;
border:solid thin grey;
 +
 +
    -webkit-transition: all .2s ease-in-out;
 +
    -moz-transition: all .2s ease-in-out;
 +
    -o-transition: all .2s ease-in-out;
 +
    -ms-transition: all .2s ease-in-out;
 +
}
}
 +
.transition {
 +
    -webkit-transform: scale(2);
 +
    -moz-transform: scale(2);
 +
    -o-transform: scale(2);
 +
    transform: scale(2);
 +
}
 +
 +
<script>
 +
  $(document).ready(function(){
 +
    $('.memberimage').hover(function() {
 +
        $(this).addClass('transition');
 +
 +
    }, function() {
 +
        $(this).removeClass('transition');
 +
    });
 +
  });
 +
</script>

Revision as of 19:54, 12 October 2014