Masonry Layout

Crea una grilla perfecta sin importarle la cantidad de elementos que contenga. Coloca los elementos en una posición óptima en función del espacio vertical disponible.

Cómo setear mi grilla?

En el archivo _variables.scss vas a encontrar el seteo inicial de este layout. Donde declaramos la cantidad inicial de columnas '$masonry-columns' y el espaciado entre ellas '$masonry-gap'.

Luego simplemente desde tu CSS seteas el punto de quiebre (Breakpoint) y la cantidad de columnas que quieras utilizar y el espaciado entre ellas.


Ejemplo Layout

1. Titulo de la Caja

The second concept is to give our masonry container (.masonry) a fixed height and then set the flex-direction to column. This technique is not so handy, as you will have to tweak up the height of the container everytime you add new items to the masonry.

2. Titulo de la Caja

The second concept is to give our masonry container (.masonry) a fixed height and then set the flex-direction to column. This technique is not so handy, as you will have to tweak up the height of the container everytime you add new items to the masonry.

3. Titulo de la Caja

The second concept is to give our masonry container (.masonry) a fixed height and then set the flex-direction to column. This technique is not so handy, as you will have to tweak up the height of the container everytime you add new items to the masonry.

4. Titulo de la Caja

The second concept is to give our masonry container (.masonry) a fixed height and then set the flex-direction to column. This technique is not so handy.

5. Este es un titulo mas grande para ver como funciona la grilla

The second concept is to give our masonry container (.masonry) a fixed height and then set the flex-direction to column. This technique is not so handy, as you will have to tweak up the height of the container everytime you add new items to the masonry.

6. Titulo de la Caja

The second concept is to give our masonry container (.masonry) a fixed height and then set the flex-direction to column. This technique is not so handy.

7. Titulo de la Caja

The second concept is to give our masonry container (.masonry) a fixed height and then set the flex-direction to column. This technique is not so handy.

8. Titulo de la Caja

The second concept is to give our masonry container (.masonry) a fixed height and then set the flex-direction to column. This technique is not so handy, as you will have to tweak up the height of the container everytime you add new items to the masonry.

9. Titulo de la Caja

The second concept is to give our masonry container (.masonry) a fixed height and then set the flex-direction to column. This technique is not so handy, as you will have to tweak up the height of the container everytime you add new items to the masonry.

10. Un titulo realmente largo para ver como se comporta el titulo con una imagen a continuacion y tambien ver como gana en altura.

The second concept is to give our masonry container (.masonry) a fixed height and then set the flex-direction to column. This technique is not so handy, as you will have to tweak up the height of the container everytime you add new items to the masonry.

11. Titulo de la Caja

The second concept is to give our masonry container (.masonry) a fixed height and then set the flex-direction to column. This technique is not so handy, as you will have to tweak up the height of the container everytime you add new items to the masonry.

12. Titulo de la Caja

The second concept is to give our masonry container (.masonry) a fixed height and then set the flex-direction to column. This technique is not so handy.

13. Titulo de la Caja

The second concept is to give our masonry container (.masonry) a fixed height and then set the flex-direction to column. This technique is not so handy, as you will have to tweak up the height of the container everytime you add new items to the masonry.

14. Titulo de la Caja

The second concept is to give our masonry container (.masonry) a fixed height and then set the flex-direction to column. This technique is not so handy.

15. Titulo de la Caja

The second concept is to give our masonry container (.masonry) a fixed height and then set the flex-direction to column. This technique is not so handy.

16. Titulo de la Caja

The second concept is to give our masonry container (.masonry) a fixed height and then set the flex-direction to column. This technique is not so handy, as you will have to tweak up the height of the container everytime you add new items to the masonry.

<div class="masonry-layout">
<div>...</div>
...
</div>
dosLotos Grid v.1.1.1
Autor Carlos 'Ruso' Cucurullo
doslotos ©