Last active
June 13, 2016 19:50
-
-
Save jonnymaceachern/9aea4b2e9032e7512c77a3c6fdc65b06 to your computer and use it in GitHub Desktop.
Equal height columns https://css-tricks.com/forums/topic/equal-height-columns-in-css/
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
<div class="col-group"> | |
<div class="col"> ... </div> | |
<div class="col"> ... </div> | |
</div> |
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
.col-group { | |
overflow:hidden; | |
} | |
.col-group .col { | |
width:50%; | |
float:left; | |
display:inline; | |
margin-bottom:-9999px; | |
padding-bottom:9999px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment