Skip to content

Instantly share code, notes, and snippets.

@hendrikkao1
Last active September 10, 2016 02:34
Show Gist options
  • Save hendrikkao1/e48e89af4e9442d42f55 to your computer and use it in GitHub Desktop.
Save hendrikkao1/e48e89af4e9442d42f55 to your computer and use it in GitHub Desktop.
Equal height columns for Bootstrap grid
@supports (display: flex) {
.row--flex {
display: flex;
flex-wrap: wrap;
}
.row--flex:before,
.row--flex:after,
.row--flex > .clearfix:before,
.row--flex > .clearfix:after {
display: none !important;
}
.row--flex > [class*="col-"] {
display: flex;
}
.row--flex > [class*="col-"] > * {
flex-grow: 1;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment