Check out example codes for "flow direction in css". It will help you in understanding the concepts better.

Code Example 1

//The flex-direction property specifies the direction of the flexible items.
//Note: If the element is not a flexible item, the flex-direction property has no effect.
div {
  display: flex;
  flex-direction: row-reverse;

Learn ReactJs, React Native from