{"id":40190619,"url":"https://github.com/manumorante/mm-masonry","last_synced_at":"2026-01-19T19:32:37.236Z","repository":{"id":46168594,"uuid":"494923240","full_name":"manumorante/mm-masonry","owner":"manumorante","description":"pure css masonry experiments","archived":false,"fork":false,"pushed_at":"2025-02-08T22:53:11.000Z","size":557,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-09T10:58:48.571Z","etag":null,"topics":["css","custom-properties","masonry"],"latest_commit_sha":null,"homepage":"https://masonry.manumorante.com","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/manumorante.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-05-22T00:21:02.000Z","updated_at":"2025-02-08T22:53:14.000Z","dependencies_parsed_at":"2023-01-23T09:46:03.468Z","dependency_job_id":null,"html_url":"https://github.com/manumorante/mm-masonry","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/manumorante/mm-masonry","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manumorante%2Fmm-masonry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manumorante%2Fmm-masonry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manumorante%2Fmm-masonry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manumorante%2Fmm-masonry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/manumorante","download_url":"https://codeload.github.com/manumorante/mm-masonry/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/manumorante%2Fmm-masonry/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28581547,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T19:06:42.549Z","status":"ssl_error","status_checked_at":"2026-01-19T19:06:42.040Z","response_time":67,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["css","custom-properties","masonry"],"created_at":"2026-01-19T19:32:37.176Z","updated_at":"2026-01-19T19:32:37.227Z","avatar_url":"https://github.com/manumorante.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Masonry Photo Gallery\n\n![image](https://user-images.githubusercontent.com/3266486/170789547-9fcfa677-01b0-4347-9d6a-941cc34efd21.png)\n\n## NPM package\n\n[npmjs.com/package/mm-masonry](https://www.npmjs.com/package/mm-masonry)\n\n## Demo\n\n[Demo: CSS Grid + custom props](https://masonry.manumorante.com/web/01-css-grid-custom-props.html)\n\n## Config the **column width** and **gap**\n\nUsing css selector:\n\n```css\n.mm-masonry {\n  --_col-width: 240;\n  --_gap: 8;\n}\n```\n\nOr directly in the html tag:\n\n```html\n\u003cdiv class=\"mm-masonry\" style=\"--_gap: 20\"\u003e...\u003c/div\u003e\n```\n\n## Disable option\n\nYou can control the disable option by using the following css selector:\n\n```css\n.mm-masonry {\n  --_display: block; /* unset | flex | ...*/\n  --_gap: 0; /* Or a value */\n}\n```\n\n## Using some JavaScript\n\n**CSS Grid + image load event**\n\nSet image dimensions when `onload` event in Javascript.\n\n[Demo: CSS Grid + image load event](https://masonry.manumorante.com/web/02-css-grid-js-load.html)\n\n## CSS columns\n\nThe simplest way: with CSS Columns.\n\n[Demo: CSS columns](https://masonry.manumorante.com/web/03-css-colums.html)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanumorante%2Fmm-masonry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanumorante%2Fmm-masonry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanumorante%2Fmm-masonry/lists"}