← Quiz: Flexbox and Grid: all 10 questions
Quiz: Flexbox and Grid · Question 7 of 10
Your flex row of course cards overflows on a phone. Which property lets the cards move to the next line?
Your flex row of course cards overflows on a phone. Which property lets the cards move to the next line?
- A.gap
- B.align-items: center
- C.flex-wrap: wrap
- D.position: absolute
Answer & explanation
Correct answer: flex-wrap: wrap
By default flex items stay on one line; wrap lets them flow onto new lines.
Can you get the rest right without peeking?
Take the timed Quiz: Flexbox and Grid quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →