Put in order · HTML and CSS course · Module 4: Flexbox

Requirements for align-content to Work

Arrange the steps needed for align-content to work in a Flexbox container:

Items to put in order

  • 1. Set display: flex on the container
  • 4. Set align-content with the desired value
  • 3. Make sure the container has sufficient height
  • 2. Add flex-wrap: wrap (required for multiple rows)

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