Question · HTML and CSS course · Module 8: CSS Grid
The repeat() Function in CSS Grid
Which repeat() syntax automatically adjusts the number of columns to the available space?
Answer options
- repeat(auto-fit, minmax(250px, 1fr))
- repeat(3, 1fr)
- repeat(4, 200px)
- repeat(2, 100px 200px)
You can check the correct answer by solving this task in the CodeWorlds game.