Example code: https://jsfiddle.net/z7ybks9u/2/
Motivation: I would like to force a 3 column layout, WITH support for fixed width but variable height DIVS, wit layout efficiency that will not expose large "whitespace holes" between items. Since the number of elements is unknown, I cannot limit the height of the flex container.
Problem: without forcing the height of the flex container, I cannot see more than one column, as it just utilizes the vertical space it needs to fit all items in one column.
What I am forced to do:
gallery-height {
display: flex;
flex-direction: column;
flex-wrap: wrap;
align-content: center;
max-height: 700px; <----- NEED TO DO THAT TO SEE COLUMNS BUT I HAVE TO SUPPORT UNKNOWN NBR OF ELEMENTS
}