CSS · Grid · Junior · Comparison
auto-fit vs auto-fill?
Short Interview Answer
Both create as many tracks as fit; auto-fit collapses empty tracks, auto-fill keeps them.
Detailed Explanation
Affects how items expand into leftover space with minmax.
CSS · Grid · Junior · Comparison
Both create as many tracks as fit; auto-fit collapses empty tracks, auto-fill keeps them.
Affects how items expand into leftover space with minmax.
Did you know this answer?