Conteúdo do Curso
CSS Fundamentals
CSS Fundamentals
Flex Direction
The flex-direction
property enables us to determine the direction in which 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. You can set it to:
Let's consider the next website navigation as an example.
row
index
index
index
row-reverse
index
index
index
column
Pay attention to the width of the items; they cover the entire width of the parent.
index
index
index
column-reverse
index
index
index
Obrigado pelo seu feedback!