Created
February 19, 2015 13:55
-
-
Save fabiorochafg/5e9bceff0d724f6d7413 to your computer and use it in GitHub Desktop.
Solution to equal height columns. It works for any column widths.
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
.holder { | |
display: flex; | |
} | |
.holder > * { | |
float: left; | |
position: relative; | |
} | |
section { | |
flex-shrink: 0; | |
width: 25%; | |
} | |
aside { | |
flex-grow: 1; | |
width: 75%; | |
} |
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="holder"> | |
<section></section> | |
<aside></aside> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment