You're working on a responsive design where you want a row of items to wrap onto the next line when there isn't enough space. Which Flexbox properties would you adjust?

  • align-content and flex-basis
  • flex-direction and flex-wrap
  • justify-content and align-items
  • order and flex-grow
To make a row of items wrap onto the next line when there isn't enough space in a Flexbox layout, you would adjust the flex-direction property to "column" (for vertical stacking) and flex-wrap to "wrap." This allows the items to stack vertically when space is limited.
Add your answer
Loading...

Leave a comment

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