content
header
content
grid-template-ares
alow you to create the layout directly in your
css, you should write exactly the same number of columns and lines or it doesn't work.grid-template-areas
for this we will use grid-area
.grid-area
we will create a key that we will use in our
layout to positioning the element.h
,
so in our css it should be grid-area: h
by this way the key is create. we must do the same
with the key of your choice for all the elements.". . h h h h h h h h h ."
"m c c c c c c c c c c c"
". . f f f f f f f f f ."
the .
in our code indicate that we want a blank to this place.