How can I create disorganized bootstrap columns?


I would like to create something like this: link

But I would like to create it using bootstrap to make it responsive, the problem is that the columns have different sizes and do not go linear like when you work the columns in bootstrap , how can I do this?

My Intent: link

asked by David Bazzinga Juggling 06.02.2016 в 13:36

1 answer


As far as I know, in boostrap is not possible with pure css. At some point in the documentation it says something like this:


If you're looking to present Pinterest-style miniature pictures, where are you   are of different heights and / or widths, you will have to use a    plugin from third parties, such as: Masonry , Isotope or Salvattore .

Since you have different dimensions in the images you leave an example using Masonry , is a library to make grillas that self-organize. Here you have an example made with this library.

To use Masonry in your fiddle you must:

Include JQuery and Masonry:

<script src=""></script>
<script src=""></script>

Initialize the grid:

  // options
  itemSelector: '.grid-item'

Here I modified your fiddle: link

answered by 06.02.2016 / 14:13