I have set up a flex box containing a bunch of items. Five items make a row. The items vary in height. I want to get rid of the white space that is formed when the items of the next row are arranged to line up with the bottom of the tallest item in the row above.
This is what my code looks like:
#archive {
display: flex;
flex-wrap: wrap;
flex-direction: row;
}
.item {
width: 20%;
position: relative;
height: 100%;
}
This is a screenshot to illustrate the issue.
I would be super stoked to hear about a solution to this problem. Thanks!