Course Content
CSS Fundamentals
CSS Fundamentals
Flex Direction
The flex-direction
property allows us to set the direction in which the flex items are arranged. By default, this property is set to row
, resulting in a left-to-right layout in browsers that use English as the default language.

Let's consider the next website navigation as an example.
row
index.html
index.css
index.js
row-reverse
index.html
index.css
index.js
column
Pay attention to the width of the items. They cover the whole parent width.
index.html
index.css
index.js
column-reverse
index.html
index.css
index.js
What does the flex-direction property do?
Select the correct answer
Everything was clear?
Section 4. Chapter 2