CSS grid rowspan 효과

by JM note

HTML

<style>
.container {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.box1 {
  background: red;
  grid-row: span 2;
}
.box2 { background: orange; }
.box3 { background: yellow; }
</style>

<div class="container">
  <div class="box1">box1</div>
  <div class="box2">box2</div>
  <div class="box3">box3</div>
</div>