Team:British Columbia/Test/Custom CSS
From 2014.igem.org
(Difference between revisions)
Line 111: | Line 111: | ||
.vertical-align { | .vertical-align { | ||
- | + | display: flex; | |
- | + | 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