🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Flexbox and Grid: all 10 questions

Quiz: Flexbox and Grid · Question 2 of 10

Which property vertically centres items in a flex ROW?

Which property vertically centres items in a flex ROW?

  1. A.justify-content: center
  2. B.align-items: center
  3. C.text-align: center
  4. D.vertical-align: middle
Answer & explanation

Correct answer: align-items: center

In a row, the cross axis is vertical — align-items controls it.

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 →