<div class="grid">
  <div>veggies es bonus vobis</div>
  <div>proinde</div>
  <div>vos postulo essum</div>
  <div>magis</div>
  <div>kohlrabi welsh onion daikon</div>
  <div>amaranth tatsoi tomatillo melon azuki bean</div>
  <div>garlic</div>
</div>
* {
  box-sizing: border-box;
}

body {
  background-color: #fff;
  color: #333;
  font: 1.2em / 1.5 Helvetica Neue, Helvetica, Arial, sans-serif;
}

.grid {
  width: 800px;
  border: 5px solid rgb(75, 70, 74);
  display: grid;
  grid-template-columns: repeat(3, min-content);
  row-gap: 20px;
  column-gap: 20px;
}

.grid > * {
  background-color: rgba(75, 70, 74, .3);
  padding: 10px;
}
Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.