Last active
September 10, 2016 02:34
-
-
Save hendrikkao1/e48e89af4e9442d42f55 to your computer and use it in GitHub Desktop.
Equal height columns for Bootstrap grid
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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