The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Advanced flexbox layout related question Reply To: Advanced flexbox layout related question


Simply…no there isn’t…

What you seem to be after is a masonry layout and, in the main, this is handled by Javascript.

That’s not to say you couldn’t use flexbox columns (not rows) to achieve the same look but the order would be different.

Here’s the classic Q&A on Stack OVerflow

On final thing…Flexbox isn’t really intended to be used as a “grid system” strictly.

It has advantages over other layout methods but it still has some limitations.