.grid { display: grid; grid-template-columns: 1fr 1fr; }Each column receives the same fraction of free space.
LESSON 62 OF 100
Split the available space into two equal flexible columns.
grid-template-columns defines explicit column sizes. The fr unit represents a fraction of leftover space; 1fr 1fr splits that space into two equal parts.
.grid { display: grid; grid-template-columns: 1fr 1fr; }Each column receives the same fraction of free space.
.grid { display: grid; grid-template-columns: 1fr; }One value creates one explicit column, not two.
Enable Grid and create two equal columns with 1fr 1fr.
The container activates Grid, and the two fr values define two column tracks with equal weight.
ANALYSIS REQUEST
The initial discussion is without obligation. You receive an honest recommendation, suitable stages and the factors that affect price.