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.
Loading...
Related Quiz
- What does the CSS rule "ul > li" specifically target?
- What is the correct syntax to use a custom property in your CSS?
- The ______ property in CSS lets you apply a delay before an animation starts.
- What is the main advantage of using a modular CSS approach?
- Which of the following properties, when animated, would cause a "repaint" but not "reflow" in most browsers?