Configure the container
Choose values for the flex container, including direction, wrapping, main-axis distribution, cross-axis alignment, and spacing. The preview lets you compare the same contents under different property combinations. Interpret the result relative to flex-direction: row follows the inline axis, while column follows the block axis, with their reverse variants changing the item order along that axis.