<div class="grid-container">
  <div class="grid-item item-1">Box One</div>
  <div class="grid-item item-2">Box Two</div>
  <div class="grid-item item-3">Box Three</div>  
  <div class="grid-item item-4">Box Four</div>
  <div class="grid-item item-5">Box Five</div>
</div>
.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  padding: 1rem;
  gap: 1rem;
}

.grid-item {
  padding: 1rem 3rem;
  font-size: 1.2rem;
  font-family: cursive;
  color: #e6c037;
  background-color: #784367;
  text-align: center;
}

.item-1 {
  grid-row: 3 / 4;
  grid-column: 2 / 3;
}

.item-2 {
  grid-column: 1 / 3;
}

.item-5 {
  grid-row: 2 / 3;
  grid-column: 3 / 4;
}


Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.