Ati Que Timporta Ati Que Timporta - 1 year ago 78
CSS Question

How can I put the same margin between columns on top and below if that columns have differents heights

I have this and i want a space like it the indicate in red.
I use bootstrap.


EDIT: I want something like this example, that always have the same margin with the other columns of top and bottom independent the height of columns, because all columns have different heights cause of the photo or description.

Answer Source

I doubt if it is possible through CSS. Checkout this javaScript plugin that does exactly what you want. JavaScript Masonry

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download