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.
Add your answer
Loading...

Leave a comment

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