content
header
content
grid-column
and
grid-row
.grid-column
is a shorthand for
grid-column-start
and grid-column-end
who takes two parameters, the first
define where the element should start and the second where he should end on the column line.grid-row
.grid-column: 2 / -1
and grid-row: 1 / 2
.div.header
then we try to place our element after the div.menu
so on the column line with grid-column
we will indicate 2
for
for the second column and -1
who define the last column of our grid this is helpful
when you don't know exactly how many columns you have in your grid, it's the same process for
grid-row
.