Propiedad justify-content: alineación en el eje principal

align_horizontal_left

justify-content

Alinea los elementos flexibles en el eje principal y distribuye el espacio libre.

code

Código CSS

justify-content: flex-start;

justify-content: flex-end;

justify-content: center;

justify-content: space-between;

justify-content: space-around;

format_align_left

flex-start

Elementos al inicio del eje principal

format_align_right

flex-end

Elementos al final del eje principal

center_focus_strong

center

Elementos centrados en el eje principal

space_bar

space-between

Espacio igual entre elementos, extremos al borde

compare_arrows

space-around

Espacio alrededor de todos los elementos