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

grid-auto-flow: dense in CSS

What does the property grid-auto-flow: dense do in CSS Grid?

Answer options

  • Reduces the gap size between elements
  • Compresses text inside grid cells
  • Compresses the grid to its minimum size
  • Automatically fills gaps in the grid with smaller elements

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