Question · HTML and CSS course · Module 4: Flexbox

When Does align-content Work

When does the align-content property take effect?

Answer options

  • Always, regardless of the number of rows
  • Only when flex items occupy a single row
  • Only when the container has multiple rows (flex-wrap: wrap)
  • Only when flex-direction is set to column

You can check the correct answer by solving this task in the CodeWorlds game.