Template:CSS/team

From 2014.igem.org

(Difference between revisions)
Line 346: Line 346:
border:solid thin grey;
border:solid thin grey;
-
    -webkit-transition: all .2s ease-in-out;
+
  -webkit-transition: all 1s ease;
-
    -moz-transition: all .2s ease-in-out;
+
    -moz-transition: all 1s ease;
-
    -o-transition: all .2s ease-in-out;
+
      -o-transition: all 1s ease;
-
    -ms-transition: all .2s ease-in-out;
+
      -ms-transition: all 1s ease;
-
 
+
          transition: all 1s ease;
}
}
 +
 +
.memberimage img:hover {
 +
  width: 600px;
 +
  height: 600px;
 +
-
.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 20:00, 12 October 2014