Using css selector:
.mm-masonry {
--_col-width: 240;
--_gap: 8;
}
Or directly in the html tag:
<div class="mm-masonry" style="--_gap: 20">...</div>
You can control the disable option by using the following css selector:
.mm-masonry {
--_display: block; /* unset | flex | ...*/
--_gap: 0; /* Or a value */
}
CSS Grid + image load event
Set image dimensions when onload
event in Javascript.
Demo: CSS Grid + image load event
The simplest way: with CSS Columns.