<div class="wrapper">
<div class="one">One</div>
<div class="two">Two</div>
<div class="three">Three</div>
<div class="four">Four</div>
<div class="five">Five</div>
<div class="six">Six</div>
</div>
.wrapper{
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-gap: 10px;
}
.wrapper div{
border: 1px solid brown;
background: rgba(200,100,20, .6);
padding: 10px;
}
.one {
grid-column: 1 / 3;
grid-row: 1;
}
.two {
grid-column: 2 / 4;
grid-row: 1 / 3;
}
.three {
grid-row: 2 / 5;
grid-column: 1;
}
.four {
grid-column: 3;
grid-row: 3;
}
.five {
grid-column: 2;
grid-row: 4;
}
.six {
grid-column: 3;
grid-row: 4;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.