What is grid column 1 3?
grid-column: 1 / 3; The grid item starts before the first column and ends just before the third one.
What is 1fr in grid-template-columns?
Fr is a fractional unit and 1fr is for 1 part of the available space.
How do you use span on a grid?
Another way to write this is by using the span keyword. With span , you set the starting line and then how many columns to span into from that starting point. In this case, grid-column: 1 / span 12 would be equivalent to grid-column: 1 / 13 , and grid-column: 2 / span 6 would be equivalent to grid-column: 2 / 8 .