<div class="wrapper">
  <div class="example">
    <div>Item One</div>
    <div>Item Two</div>
    <div>Item Three</div>
    <div>Item Four</div>
  </div>
</div>
* {box-sizing: border-box;}

body {
  background-color: grey;
  font: 1.5em/1.3 Helvetica, Arial, sans-serif;
}

.wrapper {
  background-color: white;
  width: 800px;
  margin: 40px auto;
  padding: 20px;
}


.example {
  writing-mode: vertical-rl;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr 1fr 1fr;
  margin-bottom: 2em;
  background-color: rgb(255,157,10);
  padding: 10px;
  inline-size: 600px;
  block-size: 300px;
}

.inline {
  display: inline-grid;
}

.example > * {
  border-radius: 10px;
  background-color: rgb(43,91,128);
  color: white;
  padding: 20px;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.