Ever wanted to set flexbox to space-(something) and got awful last row layouts, ? Here's an alternative approach using CSS Grid
Resize the frame width to check the how elements grows, shrinks and wraps
Using auto-fit minmax();
Using auto-fit minmax() and justify-items: center
Using auto-fit and justify-content:space-between
With growing / shrinking elements and space-between
With fixed width elements and space-between