Skip to content

Instantly share code, notes, and snippets.

@fabiorochafg
Created February 19, 2015 13:55
Show Gist options
  • Save fabiorochafg/5e9bceff0d724f6d7413 to your computer and use it in GitHub Desktop.
Save fabiorochafg/5e9bceff0d724f6d7413 to your computer and use it in GitHub Desktop.
Solution to equal height columns. It works for any column widths.
.holder {
display: flex;
}
.holder > * {
float: left;
position: relative;
}
section {
flex-shrink: 0;
width: 25%;
}
aside {
flex-grow: 1;
width: 75%;
}
<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