Grid layout basics explained
Grid layout basics explained please.
Why for grid-template-areas it is listed:
'header header header header header header'
'menu main main main right right'
'menu footer footer footer footer footer';
That is 6 across for 3 columns and 3 rows
Why is it not 3 across for the header and 1 each for menu, main, right etc?
.grid-container {
display: grid;
grid-template-areas:
'header header header header header header'
'menu main main main right right'
'menu footer footer footer footer footer';
grid-gap: 10px;
background-color: #2196F3;
padding: 10px;
From:
https://www.w3schools.com/cssref/tryit.asp?filename=trycss_grid-area_named4
