-2

here is the screenshot , see the elements height is dynamic , based on inner content

  • A screenshot is not a question. Can you provide some more information and maybe a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the code you already have? – shaedrich Apr 07 '21 at 17:18

1 Answers1

0

The technique you are looking for is masonry grid.

If you may have a closer look, - here are some information:
https://w3bits.com/css-masonry/

But head up: it is an actual technique. So have an additional look to https://caniuse.com/ if you would like to use it for a project.

Brebber
  • 2,986
  • 2
  • 9
  • 19