Bootstrap make all columns of same height in a row — August 17, 2017

Bootstrap make all columns of same height in a row

    .row {
        display: table;
    }

    .row [class*="col-"] {
        float: none;
        display: table-cell;
        vertical-align: top;
    }
Advertisements
Bootstrap 3 place block in center — June 26, 2017

Bootstrap 3 place block in center

Just need to add one class “center-block”. It has these properties

.center-block {
    float: none;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

It will align anything to center 🙂 .