Skip to content
HTML.ONE
Home CSS Properties

CSS Flex-direction

Sets the main axis direction of a flex container.

Example

flex-direction: column;

Further reference

MDN CSS reference