CSS Output Prediction Hard +35 XP
CSS Grid Columns
How many equal columns does this create?
CSSRead-only
.grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
}What is the output?
Show answer and explanation
Answer: 3 equal columns
repeat(3, 1fr) creates 3 columns each taking 1 fraction of available space — equal width.
Hint: 1fr means one fraction of the available space.
What this challenge tests
Output Prediction in CSS: grid, layout.