.brick-layout {
display: flex;
flex-wrap: wrap;
width: 400px;
padding: 5px;
box-sizing: content-box;
}
.brick {
flex-basis: 100px;
margin: 5px;
min-height: 80px;
min-width: 50px;
}
.brick:nth-child(even) {
flex-grow: 1;
}
.brick-layout {
display: flex;
flex-wrap: wrap;
width: 400px;
padding: 5px;
box-sizing: content-box;
}
.brick {
flex-basis: 100px;
margin: 5px;
min-height: 80px;
min-width: 50px;
}
.brick:nth-child(even) {
flex-grow: 1;
}