shrinking flexboxes to the same height of the shortest box [duplicate]
问题 This question already has answers here : One flex item sets the height limit for siblings (4 answers) Closed 2 years ago . I currently have a flexbox layout that looks like this: The blue is class = "wrap", the orange and all three yellow boxes are contained in two separate class = "wrap_col", and each yellow box is contained in class = "wrap_item". .wrap { display: flex; flex-flow: row wrap; margin: 0 auto; } .wrap_col { display: flex; flex-direction: column; flex: 1 0 auto; } .wrap_item {