Team:SYSU-China/css/common.css

From 2014.igem.org

(Difference between revisions)
(Created page with ".ch-grid { margin: -150px 0 0 0; padding: 0; list-style: none; display: block; text-align: center; width: 100%; } .ch-grid:after, .ch-item:before { content: ''; displ...")
 
(One intermediate revision not shown)
Line 1: Line 1:
.ch-grid {
.ch-grid {
-
margin: -150px 0 0 0;
+
margin: 150px 0 0 0;
padding: 0;
padding: 0;
list-style: none;
list-style: none;
Line 19: Line 19:
.ch-grid li {
.ch-grid li {
-
width: 180px;
+
width: 230px;
-
height: 180px;
+
height: 230px;
display: inline-block;
display: inline-block;
-
margin: 20px;
+
position: absolute;
 +
left: 50%;
 +
bottom: 0px;
}
}

Latest revision as of 18:16, 16 October 2014

.ch-grid { margin: 150px 0 0 0; padding: 0; list-style: none; display: block; text-align: center; width: 100%; }

.ch-grid:after, .ch-item:before { content: ;

   display: table;

}

.ch-grid:after { clear: both; }

.ch-grid li { width: 230px; height: 230px; display: inline-block; position: absolute; left: 50%; bottom: 0px; }