Skip to content

Rows with Flexbox

Handout

Putting boxes in a row

  • By default, boxes stack downward. Often you want them side by side.
  • Flexbox is the easy way to do that.
  • Put display: flex; on the container — the box that holds the others — and its children line up in a row.

Handout

Log in or create account

IGCSE & A-Level