Using a basic grid framework like , I have a fixed number of rows. I'm wondering if there's a simple way to ensure that all rows have the same height without explicitly setting the height of the .row
class as a percentage.
This is how my row class for 6 rows currently appears:
.row {
height: 16.666%;
padding-bottom: 5px;
}
.row:last-of-type {
padding-bottom: 0;
}
Is there a CSS solution that would automatically adjust the row heights and allow them to fill their container element vertically without specifying height: 16.666%;
? I need it to work across IE10 and other common browsers without resorting to using tables or JavaScript.