Ati Que Timporta Ati Que Timporta - 21 days ago 8
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.

myTable

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

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

Comments