<section class="grid">
  <div class="item">item1</div>
  <div class="item">item2</div>  
  <div class="item">item3</div>
  <div class="item">item4</div>
  <div class="item">item5</div>
  <div class="item">item6</div>  
  <div class="item">item7</div>
  <div class="item">item8</div>
</section>
.grid {
  display: grid;
  grid-template-columns: repeat(2, 120px 10% 200px);
  grid-template-rows: 100px 100px;
  grid-gap: 20px;
}

External CSS

  1. https://codepen.io/matuzo/pen/vmpaWe

External JavaScript

This Pen doesn't use any external JavaScript resources.