{"id":32236717,"url":"https://github.com/electerious/basicfit","last_synced_at":"2025-10-22T13:04:57.101Z","repository":{"id":17445859,"uuid":"20219568","full_name":"electerious/basicFit","owner":"electerious","description":"Turn elements on your site into a responsive unified grid.","archived":true,"fork":false,"pushed_at":"2017-05-03T15:41:50.000Z","size":11,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-13T01:17:54.790Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"CoffeeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/electerious.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-27T12:42:09.000Z","updated_at":"2025-10-03T03:32:21.000Z","dependencies_parsed_at":"2022-06-29T20:34:23.641Z","dependency_job_id":null,"html_url":"https://github.com/electerious/basicFit","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/electerious/basicFit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electerious%2FbasicFit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electerious%2FbasicFit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electerious%2FbasicFit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electerious%2FbasicFit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/electerious","download_url":"https://codeload.github.com/electerious/basicFit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/electerious%2FbasicFit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280440030,"owners_count":26331175,"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","status":"online","status_checked_at":"2025-10-22T02:00:06.515Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-10-22T13:03:20.457Z","updated_at":"2025-10-22T13:04:57.092Z","avatar_url":"https://github.com/electerious.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Deprecated] basicFit\n\nTurn elements on your site into a responsive unified grid.\n\n![Context Screenshot](http://l.electerious.com/uploads/big/b549fbada34b81246856ef4158a02baf.png)\n\n## Installation\n\n\tbower install basicFit\n\t\n## Requirements\n\nbasicFit requires jQuery \u003e= 2.1.0\n\t\n## How to use\n\n####1. Include the files\n\n```html\n\u003cscript async type=\"text/javascript\" src=\"bower_components/jQuery/dist/jquery.min.js\"\u003e\u003c/script\u003e\n\u003cscript async type=\"text/javascript\" src=\"bower_components/basicFit/dist/basicFit.min.js\"\u003e\u003c/script\u003e\n```\n\n####2. Build a simple structure\n\n```html\n\u003cdiv id=\"content\"\u003e\n\t\u003cdiv class=\"element\"\u003e\u003c/div\u003e\n\t\u003cdiv class=\"element\"\u003e\u003c/div\u003e\n\t\u003cdiv class=\"element\"\u003e\u003c/div\u003e\n\t\u003cdiv class=\"element\"\u003e\u003c/div\u003e\n\u003c/div\u003e\n```\n\n####3. Set a margin and max-min-width\n\n```css\n#content {\n\tdisplay: inline-block;\n\tmargin: 0 0 20px 0;\n}\n.element {\n\tfloat: left;\n\tmargin: 20px 0 0 20px;\n\tmin-width: 300px;\n\tmax-width: 500px;\n\tbackground-color: #000;\n}\n```\n\n####4. Initialize basicFit\n\n```coffee\nbasicFit.init '#content', '.element'\n```\n\n####5. Refresh after adding a new element\n\n```coffee\n$('#content').append element\nbasicFit.refresh()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felecterious%2Fbasicfit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felecterious%2Fbasicfit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felecterious%2Fbasicfit/lists"}