Skip to content · ⁨Saltar al contenido⁩

Rows with Flexbox · ⁨Filas con Flexbox⁩

English

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.
Español

Colocar cajas en fila

  • Por defecto, las cajas se apilan hacia abajo. A menudo quieres que estén una al lado de la otra.
  • Flexbox es la forma sencilla de lograrlo.
  • Coloca display: flex; en el contenedor —la caja que contiene a las demás— y sus hijos se alinearán en una fila.

Handout · ⁨Material⁩

Log in or create account · ⁨Iniciar sesión o crear cuenta⁩

IGCSE, A-Level & AP