Team:British Columbia/Test/Custom CSS

From 2014.igem.org

(Difference between revisions)
(Undo revision 389214 by JRound (talk))
Line 111: Line 111:
.vertical-align {
.vertical-align {
-
    display: flex;
+
  display: flex;
-
    align-items: center;
+
  flex-direction: row;
 +
}
 +
 
 +
.vertical-align > [class^="col-"],
 +
.vertical-align > [class*=" col-"] {
 +
  display: flex;
 +
  align-items: center;     /* Align the flex-items vertically */
 +
  justify-content: center; /* Optional, to align inner flex-items
 +
                              horizontally within the column  */
}
}

Revision as of 02:32, 18 October 2014

2014 UBC iGEM