Propiedad flex-direction: row y row-reverse

east

flex-direction

Controla la dirección del eje principal en el contenedor flexible.

code

Código CSS

Valor por defecto

flex-direction: row;

Orden inverso

flex-direction: row-reverse;

arrow_forward

row

check_circle

Eje principal horizontal

check_circle

Dirección izquierda → derecha

check_circle

Valor por defecto

arrow_forward arrow_forward arrow_forward
arrow_back

row-reverse

check_circle

Eje principal horizontal

check_circle

Dirección derecha ← izquierda

check_circle

Invierte el orden

arrow_back arrow_back arrow_back