Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
.container {
width: 500px;
border: 5px solid black;
display: flex;
}
.item {
flex: 1 1 auto;
width: 100px;
height: 100px;
}
.one {
background: #B5AC01;
}
.two {
height: 120px;
background: #ECBA09;
}
.three {
background: #E86E1C;
}
.four {
flex: 0 0 auto;
height: 140px;
background: #D41E45;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment