Flex allows users to build Flexible Box Module based layouts. It serves as a technical component that abstracts users from working directly with CSS Flexbox and helps them write more semantic layouts.
Flexboxes are comprised mainly of two axes: the main axis and the cross axis. The main axis is defined by the flex-direction property, and the cross axis runs perpendicular to it.
row, row-reverse, column and column-reverse.row or row-reverse the cross axis runs down the columns.column or column-reverse, the cross axis runs down the rows.The flexbox makes no assumption about the writing mode of the document. Left to right or right to left can be used depending, for example, on the language used. A start and end edge is used to refer to the direction of the placement of elements.
For example, If the flex-direction is row and the language is English, then the start edge of the main axis will be on the left, the end edge on the right.
An area of a document laid out using flexbox is called a flex container.
row).