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

Spanning an Element Across Columns

How do you span a grid element across 3 columns?

Answer options

  • grid-columns: 3
  • grid-column: span 3
  • grid-width: 3
  • column-span: 3

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