You can break to a new flexbox row or column without setting the size of an item: add a collapsed flex item between two flex items| tobiasahlin.com
Creating a masonry (or mosaic) layout with flexbox produces a grid with a seemingly shuffled and obscure order, but we can achieve a natural ordering by using :nth-child() and the order property| tobiasahlin.com