Template:Team:DukeHomePage/CSS

From 2014.igem.org

(Difference between revisions)
Line 119: Line 119:
     -moz-transition: all 0.5s ease;
     -moz-transition: all 0.5s ease;
     -o-transition: all 0.5s ease;
     -o-transition: all 0.5s ease;
-
/*side margins must be half of the change in size*/     
+
/*margins must be half of the change in size*/     
-
margin: 5px 5px;
+
    margin: 5px 5px;
}
}
Line 128: Line 128:
     width: 110px;
     width: 110px;
     height: 110px;
     height: 110px;
 +
/*margins must be negative half of the change in size*/
     margin: -5px -5px;
     margin: -5px -5px;
/* Glow effect */
/* Glow effect */
Line 168: Line 169:
</p>
</p>
-
 
+
<!--tr must be the maximum height of the element. td must be the maximum width of the element. -->
<table id="bodyContent" align="center">
<table id="bodyContent" align="center">
<tr height="110px">
<tr height="110px">

Revision as of 16:39, 22 July 2014

Demonstrating cooperative repression