<!DOCTYPE html>
<style>
.multicol {
  inline-size: 400px;
  block-size: 100px;
  columns: 4;
  column-fill: auto;
  gap: 10px;
  padding: 10px;
  border: solid 3px;
}
</style>
<div class="multicol">
  <div style="background: dodgerblue; block-size: 120px;"></div>
  <div style="block-size: 40px; border: solid 10px lime;"></div>
  <div style="block-size: 135px; border: solid 10px; border-top: none;"></div>
  <div style="block-size: 40px; border: solid 10px blue; border-top: none;"></div>
  <div style="block-size: 15px; border: solid 10px blue; border-top: none;"></div>
</div>
