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

justify-items Alignment in Grid

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

Answer options

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

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