...
Once converted to a flexible container the properties within the grid layout control the direction and size of flow of elements.
Flex Direction: controls the direction in which elements align within a flexible container. It determines whether the elements will be aligned in a row, in a column, or in other arrangements.
...