Segue abaixo duas soluções que usei pra resolver o desafio na primeira usei o conhecimentos adquiridos aqui no curso.
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.corpo {
background-color: #444444;
padding: 8px;
width: 100vw;
height: 100vh;
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
grid-template-rows: 1fr 1fr 1fr 1fr;
}
.cabecalho {
background-color: #cc2a2a;
border-radius: 10px;
min-width: 50px;
min-height: 50px;
margin: 8px;
grid-column: span 4;
}
.lateral {
background-color: #45cc2a;
border-radius: 10px;
min-width: 50px;
min-height: 50px;
margin: 8px;
grid-row: span 3;
}
.meio {
background-color: #2aa6cc;
border-radius: 10px;
min-width: 50px;
min-height: 50px;
margin: 8px;
grid-row: span 3;
grid-column: span 2;
}
.direita-cima {
background-color: #352acc;
border-radius: 10px;
min-width: 50px;
min-height: 50px;
margin: 8px;
}
.direita-baixo {
background-color: #cc2a96;
border-radius: 10px;
min-width: 50px;
min-height: 50px;
margin: 8px;
grid-row: span 2;
}
E a segunda usei algumas coisa de um artigo do css tricks segue o link:https://css-tricks.com/snippets/css/complete-guide-grid/
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.corpo {
background-color: #444444;
padding: 8px;
width: 100vw;
height: 100vh;
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
grid-template-rows: 1fr 1fr 1fr 1fr;
}
.cabecalho {
background-color: #cc2a2a;
border-radius: 10px;
min-width: 50px;
min-height: 50px;
margin: 8px;
grid-column-start: 1;
grid-column-end: 4 span;
}
.lateral {
background-color: #45cc2a;
border-radius: 10px;
min-width: 50px;
min-height: 50px;
margin: 8px;
grid-column-start: 1;
grid-row-start: 2;
grid-row-end: 4 span;
}
.meio {
background-color: #2aa6cc;
border-radius: 10px;
min-width: 50px;
min-height: 50px;
margin: 8px;
grid-column-start: 2;
grid-column-end: 4;
grid-row-start: 2;
grid-row-end: 4 span;
}
.direita-cima {
background-color: #352acc;
border-radius: 10px;
min-width: 50px;
min-height: 50px;
margin: 8px;
grid-column-start: 4;
grid-row-start: 3;
grid-row-end: 4 span;
}
.direita-baixo {
background-color: #cc2a96;
border-radius: 10px;
min-width: 50px;
min-height: 50px;
margin: 8px;
}