CSS CSS Flexbox Layout Flexbox Properties Distributing Space Inside a Flex Container

Ryan Schmelter
Ryan Schmelter
9,710 Points

When you use row-revers, does it flip the axis?

Say I want to use row reverse but still want my content to appear at the start of the row. It seems using justify-content: flex-start; doesn't do this and i need to use flex-end;

Mary-Ann Burton
Mary-Ann Burton
15,822 Points

It seems you have answered your own question :) Yes, basically row-reverse is just flipping the row on its x-axis, so if you just place

justify-content: flex-end;

in the container's css, it should align to the start of the container.