<h1>Using <code>grid-area</code></h1>
<div class="container">
<div class="item a">A</div>
<div class="item b">B</div>
<div class="item c">C</div>
<div class="item d">D</div>
<div class="item e">E</div>
<div class="item f">F</div>
</div>
body {
margin: 10px;
font-family: 'Abel';
text-align: center;
width: 580px;
}
.container {
display: grid;
grid-template-columns: 180px 180px 180px;
grid-gap: 10px;
}
.item {
color: white;
padding: 1.5em 0;
font-size: 2em;
}
.a {
background: #0d9;
}
.b {
background: #d90;
}
.c {
background: #9d0;
}
.d {
background: #90d;
}
.e {
background: #d09;
}
.f {
background: #09d;
}
.c {
grid-area: 2 / 2 / 4 / 4;
}
This Pen doesn't use any external JavaScript resources.