grid-template-areas: “head head”
“nav nav”
“info services”
“footer footer”;
I cannot understand whats exactly going on here! please help me out
Thanks for every single response
grid-template-areas: “head head”
“nav nav”
“info services”
“footer footer”;
I cannot understand whats exactly going on here! please help me out
Thanks for every single response
Can you attach a link?
its explained within the lesson:
The grid-template-areas property allows you to name sections of your web page to use as values in the grid-row-start, grid-row-end, grid-col-start,grid-col-end, and grid-area properties.
it allows us to name sections on our webpage, which is really neat to help us layout our grid
Thanks for the Response
But Sir I cannot understand this
grid-template-areas: “head head”
“nav nav”
“info services”
“footer footer”;
I cannot understand this part why we have written head twice nav twice footer twice but info and services once please explain
here are some good examples:
https://developer.mozilla.org/en-US/docs/Web/CSS/grid-template-areas
head and nav both span two rows, while info and service only span one row each.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.