Hello! And how can you bring the blocks in mosaic, if they are not only different in height, but also in width? I found a solution for blocks whose width differs exactly twice. And what about blocks of arbitrary width? Need to impose this: Example

  • Similar question . In the comments there are examples of implementation - UserName

1 answer 1

try display: inline-block