Question · HTML and CSS course · Module 8: CSS Grid

align-items Alignment in Grid

How does the align-items property align elements in CSS Grid?

Answer options

  • Aligns elements along the block axis (vertically)
  • Aligns text within elements
  • Centers the entire grid
  • Aligns elements along the inline axis (horizontally)

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