A
A
Alex2015-11-10 21:51:05
css
Alex, 2015-11-10 21:51:05

How to arrange div height in 3 columns?

I have several divs of fixed width and different heights (arbitrary).
It is necessary to place them in 3 columns so that the distance between the divs is minimal and they fill the page as much as possible. Like Google+ https://plus.google.com/ tiles.
I think that there should be ready-made jQuery plugins for this.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis Ineshin, 2015-11-10
@streetflush

sapegin.github.io/jquery.mosaicflow
masonry.desandro.com

A
Andrey Salnikov, 2015-11-10
@Shshzik

I think in this case you can use Flex-box. He knows how to place blocks to fill the entire space.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question