I am having trouble with the grid layout system in css, while I am following the official guide from Mozilla, even copying and pasting their code still gives me an error.
.wrapper {
display: grid;
grid-template-columns: 1fr 1fr 1fr; /*columns defined as a fraction of the grid*/
grid-template-rows: auto; /*rows defined relative to the amount of areas*/
grid-template-areas:
"header header header"
"main main sidebar"
"footer footer footer";
}
.header {
grid-area: header;
}
despite any attempts to troubleshoot the code so far, the grid-area line gives me unknown property 'grid-area'
neocities doesn't have any unique documentation. Is this simply an editor quirk? And is there an alternative?