Welcome to js-masonry 👋
Vanilla Js library to lay elements in masonry grid in optimal positions and which auto adjusts margin between bricks based on residual space
Homepage
🏠Install
npm install js-masonry
Script Tag
Dowload and include following file: js-masonry.js
Options
const mas = new jsMasonry First Parameter : one or multple selector to apply masonry. Second Parameter : elSelector : String, elWidth : Number,
Author
👤 ujw0l
🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Show your support
Give a ⭐️ if this project helped you!
📝 License
Copyright © 2019 ujw0l.
This project is MIT licensed.
This README was generated with ❤️ by readme-md-generator