<div class="container">
  <p class="column column-1">1</p>
  <p class="column column-2">2</p>
  <p class="column column-3">3</p>
  <p class="column column-4">4</p>    
  <p class="column column-5">5</p>    
  <p class="column column-6">6</p>    
</div>
.container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  grid-auto-flow: dense;
  gap: 10px;
}

.column-3,
.column-5 {
  grid-column-end: span 2;
}

/* ETC (Formatting only): */

body {
  margin: 1.5em;
  font-size: 130%;
  font-family: sans-serif;
  background: #F2F0EC;
  color: #2E2C08;
}

.container {
  border: 10px solid #2E2C08;
  background: white;  
  padding: 1em;
}

.column {
  padding: 0.5em;
  text-align: center;
  background: #e5e3de;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 0;
  text-align: center;
}

.container {
  border: 5px solid black;
  padding: 1em;
  margin-bottom: 2em;  
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.