Flexbox is a powerful way to layout HTML so that elements can grow to fit the size of their container. It can also control how the elements are positioned within a flexed container.
Once you start thinking in rows
and columns
, you can control almost any flexed layout with just a few simple flexbox layout primitives.