Skip to content

Glossary: CSS Layout and Responsive Design

flex-direction

Sets the main axis of a flex container: `row` (default) or `column`.

Where the book teaches it

Related terms

Main axisflex-wrap