Ati Que Timporta Ati Que Timporta - 3 months ago 26
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.


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