CSS grid layout
Grid arranges items in rows and columns. Define the structure on the container, then place each item in a named area.
A layout with named areas
.layout {
display: grid;
gap: 12px;
grid-template-columns: 1fr 2fr;
grid-template-areas:
"header header"
"nav main"
"footer footer";
}