These properties control the overall layout of the items from the parent level. Basic concepts of flexbox - CSS - MDN Web Docs

The primary direction items are laid out (defined by flex-direction ).

The axis perpendicular to the main axis (e.g., if the main axis is a row, the cross axis is a column). 2. Essential Container Properties

The model relies on two primary components: the and Flex Items . Flex Items: The direct children of that container. The Two Axes Layout behavior is determined by two perpendicular axes: