Intermediate HTML & CSS
Q55 / 100

What does the "fr" unit represent in CSS Grid, e.g. "grid-template-columns: 1fr 2fr"?

Correct! Well done.

Incorrect.

The correct answer is B) A fraction of the remaining available space in the grid container, distributed proportionally among tracks using fr

B

Correct Answer

A fraction of the remaining available space in the grid container, distributed proportionally among tracks using fr

Explanation

The "fr" unit divides remaining space in the grid container proportionally; "1fr 2fr" gives the second column twice the space of the first after fixed-size tracks are accounted for.

Progress
55/100