There are few options on how to include/import Masonry Layout into your project:
Install the Masonry Layout library using command prompt from the root directory of the project:
npm install masonry-layout --save
How to import Masonry Layout package?
<script src="./assets/libs/masonry-layout/masonry.pkgd.min.js"></script>
HTML
<div class="row g-5" data-masonry='{"percentPosition": true }'> <div class="col-md-6 col-lg-4"> ... </div> <div class="col-md-6 col-lg-4"> ... </div> <div class="col-md-6 col-lg-4"> ... </div> <div class="col-md-6 col-lg-4"> ... </div> <div class="col-md-6 col-lg-4"> ... </div> </div>
Be the first to know about new updates and exclusive discounts. No spam, just great offers!
How about
With over 7 years of experienced team, we specialize in delivering custom projects for startups, blue-chip companies, and government agencies. We have successfully completed over 250+ projects, providing tailored solutions that meet the unique needs of each client.
Hire Us© Domiex Created & Crafted by SRBThemes.