🎙 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 6 of 10

In a flex container with flex-direction: column, which property moves items along the vertical axis?

In a flex container with flex-direction: column, which property moves items along the vertical axis?

  1. A.align-items
  2. B.justify-content
  3. C.flex-wrap
  4. D.text-align
Answer & explanation

Correct answer: justify-content

justify-content always works on the main axis, which is vertical in a column.

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 →