What does the flex-direction property control in a flex container?

  • It controls the direction in which flex items are laid out.
  • It determines the color of the flex items.
  • It sets the border thickness of the flex items.
  • It sets the font size of the flex items.
The flex-direction property in a flex container determines the direction in which flex items are laid out. It can be set to control whether the items are arranged in rows or columns, and the direction in which they flow.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *