0

I'm having a flexbox layout like this:

enter image description here

.container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

Now, when the items get wrapped, the blue item will shift onto a new row:

enter image description here

As you can see there is some unwanted whitespace. Now what I want, but can't seem to achieve, is that the blue column takes up all available space:

enter image description here

Rinux
  • 815
  • 1
  • 9
  • 18
  • that's not possible with flexbox (also not with floats, only with JS like masonry) – Johannes Jun 27 '17 at 09:34
  • I have already answered a question with a similar case. that's impossible using flexbox. But you can achieve it with workarounds : https://stackoverflow.com/questions/44706537/how-to-remove-this-space-between-blocks/44710027#44710027 – Alex - DJDB Jun 27 '17 at 09:37

0 Answers0