Flexbox is a one-dimensional layout method in CSS that allows you to control the size, positioning, and spacing of your elements.
It is especially useful for creating responsive designs, as it easily adapts to different screen sizes.
.container { display: flex; flex-direction: row; }
Default direction
Items arranged horizontally
Useful for horizontal navigation bars