flex change order

Solutions on MaxInterview for flex change order by the best coders in the world

showing results for - "flex change order"
Jessica
09 Jul 2020
1.box {
2  display: flex;
3  flex-direction: row;
4}
5.box :nth-child(1) { order: 2; }
6.box :nth-child(2) { order: 3; }
7.box :nth-child(3) { order: 1; }
8.box :nth-child(4) { order: 4; }
9.box :nth-child(5) { order: 5; }