masonry-vanilla | theme applies the Masonry layout
kandi X-RAY | masonry-vanilla Summary
kandi X-RAY | masonry-vanilla Summary
This theme applies the Masonry layout to a Vanilla / Plain Roam Graph (i.e., no other CSS required).
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of masonry-vanilla
masonry-vanilla Key Features
masonry-vanilla Examples and Code Snippets
Community Discussions
Trending Discussions on masonry-vanilla
QUESTION
First time I'm using Masonry.js, I try to display my items in a simple grid but all items are just in position: absolute
so they stack on each other.
I try to add a margin: 0 auto
on the gutter selector as advice on this post but it won't help.
Here is a fiddle, am I doing something wrong?
...ANSWER
Answered 2017-Nov-10 at 12:18The script can't find required classes in DOM ("item--sizer" and 'item--gutter'). JS can't take it from CSS file.
columnWidth can't find "item--sizer" class in DOM. Add this class to the element you need. Remove line gutter: '.item--gutter' or add this element to DOM.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install masonry-vanilla
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page