As suggested here I've used display: table
on row and display: table-cell
on columns.
Fiddle: http://jsfiddle.net/kA4yg/3/.
it seems to work, but columns do not stack on top of each other (just resize the fiddle demo) under the breakpoint (in this case, under medium-device resolution).
<div class="row row-table">
<div class="col-md-4 col-cell" style="background-color: #8bc34a;">
<h1>A</h1>
</div>
<div class="col-md-4 col-cell" style="background-color: #795548;">
<p>b</p>
</div>
<div class="col-md-4 col-cell" style="background-color: #90a4ae;">
<p>c</p>
</div>
</div>
CSS:
.row.row-table {
display: table;
}
.row [class*="col-"].col-cell {
display: table-cell;
float: none;
vertical-align: top;
}
Is there any way I can fix this, making it work like the "standard Bootstrap way", i.e. .col-lg-6
stack under large-device, .col-md-4
stack under medium-device, and so on?