What does the flex-wrap property control in a flex container?
- It controls the alignment of flex items within the container.
- It defines the direction in which flex items stack within the container.
- It determines how flex items wrap when they exceed the container's width.
- It specifies the amount of space between flex items.
The flex-wrap property in a flex container controls how flex items wrap when they exceed the container's width. It can be set to nowrap to prevent wrapping, wrap to allow wrapping in a single line, or wrap-reverse to wrap in the opposite direction.
Loading...
Related Quiz
- How would you provide a fallback value when using a CSS custom property?
- Which pseudo-class in CSS is used to target elements based on their position in a parent element, like the first child?
- In terms of specificity, which type of selector has the highest priority?
- To ensure that fonts are loaded from the same origin, you can use the ________ HTTP header.
- When using Styled Components, how would you dynamically change the style of a component based on its props?