Questions tagged [masonry]

Masonry, formally jQuery Masonry, is a JavaScript cascading grid layout library.

Masonry is a JavaScript grid layout library. It works by placing elements in optimal position based on available vertical space, sort of like a mason fitting stones in a wall. You’ve probably seen it in use all over the Internet.

As of version 3, Masonry does not depend on jQuery anymore, but it can work alongside.

Created by David DeSandro, Masonry is released under the permissive MIT License.

Useful links

950 questions
3
votes
1 answer

Masonry JS initializing before images are loaded

I am building a website to use as a portfolio for applying to university. I am quite bad with javascript and cannot get this to work even after reading all of the other similiar questions. Basically masonry is initializing before the images have…
3
votes
1 answer

Masonry in WordPress

Here's another attempt to get my posts into a grid: index.php The page that loads all the posts.
user13859048
3
votes
0 answers

How to use Masonry js with Rails endless pagination

Hi i am working on a ROR project with ruby 2.6.0 and Rails 5. I am using 'Masonry' to adjust my unequal height of div but its not working with endless pagination. index.html.erb
3
votes
1 answer

How can I implement a 'category filter' in Angular2

Scenario In an Angular2 app, I have some code in a component's view parent.component.html looping through an array of items and outputting each item as a new component: