DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
CSS Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
medium
CSS
What's the key functional difference between grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) and repeat(auto-fit, minmax(200px, 1fr))?
A
auto-fit is not valid CSS syntax
B
They behave identically in all cases
C
auto-fill keeps empty tracks (visible gaps) when there are fewer items than fit a row; auto-fit collapses empty tracks, letting existing items stretch to fill the row
D
auto-fill only works with pixel values, auto-fit only works with percentages
Check Answer