{"id":15369375,"url":"https://github.com/darlanmendonca/masonry-css","last_synced_at":"2025-06-22T10:35:05.428Z","repository":{"id":57291710,"uuid":"46316877","full_name":"darlanmendonca/masonry-css","owner":"darlanmendonca","description":"Create mosaic grid, like masonry, with css only","archived":false,"fork":false,"pushed_at":"2017-04-04T17:31:58.000Z","size":11086,"stargazers_count":18,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-15T15:38:28.386Z","etag":null,"topics":["css","grid","layout","masonry"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/darlanmendonca.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":"2015-11-17T02:06:57.000Z","updated_at":"2025-02-16T14:40:04.000Z","dependencies_parsed_at":"2022-08-27T16:40:57.993Z","dependency_job_id":null,"html_url":"https://github.com/darlanmendonca/masonry-css","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/darlanmendonca/masonry-css","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darlanmendonca%2Fmasonry-css","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darlanmendonca%2Fmasonry-css/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darlanmendonca%2Fmasonry-css/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darlanmendonca%2Fmasonry-css/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darlanmendonca","download_url":"https://codeload.github.com/darlanmendonca/masonry-css/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darlanmendonca%2Fmasonry-css/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260866338,"owners_count":23074807,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","grid","layout","masonry"],"created_at":"2024-10-01T13:35:30.421Z","updated_at":"2025-06-22T10:35:00.412Z","avatar_url":"https://github.com/darlanmendonca.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# masonry-css\n\nResponseive Masonry style grid, like masonry plugins, but with css only!\n\nSee [demo](https://rawgit.com/darlanmendonca/masonry-css/master/dist/index.html) - Illustrations by [Ken Wong](http://ken-wong.deviantart.com/)\n\n\u003ca href=\"https://rawgit.com/darlanmendonca/masonry-css/master/dist/index.html\"\u003e\u003cimg src=\"https://github.com/darlanmendonca/masonry-css/blob/master/dist/imgs/preview.jpg?raw=true\" alt=\"Demo\"/\u003e\u003c/a\u003e\n\n### Install\n\nInstall using ```npm``` or ```bower```.\n\n```sh\nnpm install --save masonry-css\n```\n\n```sh\nbower install --save masonry-css\n```\n\nRefer to css with ```dist/masonry.css```, or ```src/masonry.scss'```. I.e.\n\n```html\n\u003clink rel=\"stylesheet\" src=\"bower_components/dist/masonry.css\" /\u003e\n```\n\nIn your .html use class ```.masonry``` as container, and inside of that, each image need has the class ```.masonry-item```, example:\n\n```html\n\u003cdiv class=\"masonry\"\u003e\n  \u003cimg class=\"masonry-item\" src=\"...\" /\u003e\n  \u003cimg class=\"masonry-item\" src=\"...\" /\u003e\n  \u003cimg class=\"masonry-item\" src=\"...\" /\u003e\n  \u003cimg class=\"masonry-item\" src=\"...\" /\u003e\n\u003c/div\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarlanmendonca%2Fmasonry-css","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarlanmendonca%2Fmasonry-css","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarlanmendonca%2Fmasonry-css/lists"}