Last active
April 27, 2023 14:11
-
-
Save LeoLopesWeb/73bd540ac1c4910b3aa4d17909d3b00c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- no modo 'percentPosition'ele usa o width do item no css para estipular a largura das colunas --> | |
<script src="https://unpkg.com/masonry-layout@4/dist/masonry.pkgd.min.js"></script> | |
<script> | |
$('.col-lista-termos').masonry({ | |
gutter: 32, | |
itemSelector: '.item', | |
percentPosition: true, | |
//horizontalOrder: true, | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment