by @jm3 · aka John Manoogian3

Frequent, bite-size mini-milestone updates as I fast-forward merge* my front-end web development skills up to 2019 levels. Learn more

FlexBox 101

Posted at — Jun 1, 2019

Flexbox (as opposed to CSS Grid) is best for one-dimensional layouts, i.e. a set of content items in a line, be it horizontal or vertical.

On the parent container element, set:

.some-parent {
  display: flex;
  justify-content: space-evenly;