랜덤 CSS grid rowspan 효과 #3

by JM note

HTML

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

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