How do you use grid-template to create rows and columns?
grid-template: 100px 200px / 200px 200px;
The numbers before the / are rows, the numbers after are columns.
What does the 1fr stand for after grid-template-rows: 1fr 2fr 2fr?
1fr means one fraction. The previous code says to create three rows at a 1 to 2 to 2 ratio.
What does the auto keyword do in the following code? grid-template-row: 200px auto;
grid-template-column: 200px auto;
When used with row, it will size the box to fit the content you put in it.
When used with column, it will stretch to fit eh screen.
Wgat the