Divs aligned with different Height

Asked

Viewed 31 times

1

I need to make this effect of the Divs being different sizes, but always 'embedded', but I’m not getting away with it. I’m using Materialize, there’s some 'trick' to it?

I don’t know if it makes it easier, but I left a structure here that looks a little bit like the Divs that I have https://jsfiddle.net/5gy7apL4/inserir a descrição da imagem aqui

.col {
  border: 1px solid #000;
  margin: 16px;
}

.maior {
  height: 250px;
}

.menor {
  height: 180px;
}
<div class="row">
   <div class="col s3 maior"></div>
   <div class="col s3 menor"></div>
   <div class="col s3 maior"></div>
   <div class="col s3 maior"></div>
   <div class="col s3 menor"></div>
   <div class="col s3 maior"></div>
   <div class="col s3 maior"></div>
   <div class="col s3 menor"></div>
   <div class="col s3 maior"></div>
</div>

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.