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

Difference Between auto-fill and auto-fit

What is the difference between auto-fill and auto-fit in repeat()?

Answer options

  • There is no difference, they are synonyms
  • auto-fill fills with color, auto-fit adjusts size
  • auto-fill creates empty cells, auto-fit collapses them
  • auto-fill is faster than auto-fit

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