.parent {
display: table;
table-layout: fixed;
}
.child {
display:table-cell;
vertical-align:middle;
text-align:center;
}
table-layout: fixed
prevents breaking the functionality of the col-* classes.
More Related Contents:
- Bootstrap dropdown sub menu missing
- What is the difference among col-lg-*, col-md-* and col-sm-* in Bootstrap?
- Center a column using Twitter Bootstrap 3
- Bootstrap 3 fluid grid layout issues?
- Bootstrap 3 Navbar with Logo
- How to change the bootstrap primary color?
- Why did Bootstrap 3 switch to box-sizing: border-box?
- How to use particular CSS styles based on screen size / device
- Bootstrap: how to stack divs of different heights?
- Meaning of numbers in “col-md-4″,” col-xs-1″, “col-lg-2” in Bootstrap
- Bootstrap icons are loaded locally but not when online
- Right to Left support for Twitter Bootstrap 3
- Input widths on Bootstrap 3
- Change the order of col-*-12 columns in Bootstrap using push/pull
- Bootstrap grid with fixed wrapper – Prevent columns from stacking up
- Bootstrap 3 – Use more than 12 columns in a row
- Bootstrap xs columns wrap
- Changing the width of Bootstrap popover
- How to change btn color in Bootstrap
- Bootstrap 3 – desktop view on a mobile device
- Bootstrap 3 Slide in Menu / Navbar on Mobile [closed]
- Twitter’s Bootstrap 3 grid, changing breakpoint and removing padding
- Make column fixed position in bootstrap
- Bootstrap 3: pull-right for col-lg only
- Centering the image in Bootstrap
- Bootstrap change div order with pull-right, pull-left on 3 columns
- Shrinking navigation bar when scrolling down (bootstrap3)
- Vertically align Bootstrap badge inside heading
- Custom CSS being overridden by Bootstrap CSS
- Bootstrap Grid System new line does not look nice