CSS
.wrapper {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 10px;
grid-auto-rows: minmax(100px, auto);
font-family: Arial, Helvetica, sans-serif;
font-size: 1.5em;
}
.grid-item {
background-color: lightgoldenrodyellow;
border: 2px solid orange;
display: flex;
justify-content: center;
align-items: center;
}
.one {
grid-column: 1 / 2;
grid-row: 1 / 2;
}
.two {
grid-column: 2 / 3;
grid-row: 1 / 2;
}
.three {
grid-column: 3 / 4;
grid-row: 1 / 2;
}
.four {
grid-column: 1 / 3;
grid-row: 2 / 3;
}
.five {
grid-column: 3 / 4;
grid-row: 2 / 3;
}
.six {
grid-column: 1 / 4;
grid-row: 3 / 4
}
.seven {
grid-column: 1 / 2;
grid-row: 4/5
}
.eight {
grid-column: 2 / 4;
grid-row: 4 / 5;
}
.nine {
grid-column: 1 / 2;
grid-row: 5 / 7;
}
.ten {
grid-column: 2 / 3;
grid-row: 5 / 6;
}
.eleven {
grid-column: 3 / 4;
grid-row: 5 / 7;
}
.twelve {
grid-column: 2 / 3;
grid-row: 6 / 7;
}
HTML
<div class="wrapper">
<div class="grid-item one">One</div>
<div class="grid-item two">Two</div>
<div class="grid-item three">Three</div>
<div class="grid-item four">Four</div>
<div class="grid-item five">Five</div>
<div class="grid-item six">Six</div>
<div class="grid-item seven">Seven</div>
<div class="grid-item eight">Eight</div>
<div class="grid-item nine">Nine</div>
<div class="grid-item ten">Ten</div>
<div class="grid-item eleven">Eleven</div>
<div class="grid-item twelve">Twelve</div>
</div>