{"id":15293249,"url":"https://github.com/digitaledgeit/sass-grid","last_synced_at":"2025-04-13T13:04:43.774Z","repository":{"id":25748292,"uuid":"29186139","full_name":"digitaledgeit/sass-grid","owner":"digitaledgeit","description":"A responsive grid.","archived":false,"fork":false,"pushed_at":"2017-01-16T03:19:44.000Z","size":90,"stargazers_count":4,"open_issues_count":5,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T04:08:37.002Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/digitaledgeit.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-01-13T11:04:04.000Z","updated_at":"2019-05-01T20:35:45.000Z","dependencies_parsed_at":"2022-08-24T14:13:28.433Z","dependency_job_id":null,"html_url":"https://github.com/digitaledgeit/sass-grid","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitaledgeit%2Fsass-grid","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitaledgeit%2Fsass-grid/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitaledgeit%2Fsass-grid/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/digitaledgeit%2Fsass-grid/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/digitaledgeit","download_url":"https://codeload.github.com/digitaledgeit/sass-grid/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248662278,"owners_count":21141546,"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":[],"created_at":"2024-09-30T16:45:14.596Z","updated_at":"2025-04-13T13:04:43.747Z","avatar_url":"https://github.com/digitaledgeit.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sass-grid\n\nA responsive grid built on flexbox.\n\nUses `flexbox` and gracefully degrades in older browsers, supporting *most* of the same functionality using an `inline-block` grid.\n\n## Installation\n\n### Browserify\n\n    npm install --save sass-grid\n\n### Component\n\n    component install sass-grid\n\n**Note**: You are limited to using the compiled version.\n\n## Usage\n\n### Using mixins\n\nCSS:\n\n    @import \"sass-grid\"\n    @import \"sass-named-breakpoints\";\n\n    .feature-panel {\n      @include grid();\n      @include grid--halign-justify-center()\n    }\n\n    .feature-panel__feature {\n      @include grid__unit();\n\n      @include named_breakpoint('md') {\n        @include grid__unit--cols(3);\n      }\n\n    }\n\nHTML:\n\n    \u003chtml class=\"flexbox\"\u003e\u003c!-- you'll probably use Modernizr and won't need to manually put this class here --!\u003e\n    ...\n\n        \u003cdiv class=\"feature-panel\"\u003e\n            \u003cdiv class=\"feature-panel__feature\"\u003eDoes stuff\u003c/div\u003e\n            \u003cdiv class=\"feature-panel__feature\"\u003eDoes more stuff\u003c/div\u003e\n            \u003cdiv class=\"feature-panel__feature\"\u003eDoes even more stuff\u003c/div\u003e\n            \u003cdiv class=\"feature-panel__feature\"\u003eIt just does all the stuff!\u003c/div\u003e\n        \u003c/div\u003e\n\n    ...\n    \u003c/html\u003e\n\n### Using a compiled grid\n\nCSS:\n\n    @import \"sass-grid/dist/compiled\"\n\nHTML:\n\n    \u003chtml class=\"flexbox\"\u003e\u003c!-- you'll probably use Modernizr and won't need to manually put this class here --!\u003e\n    ...\n\n        \u003cdiv class=\"grid\" u-xs=\"halign:justify-center\"\u003e\n            \u003cdiv class=\"grid__unit\" u-md=\"cols:3\"\u003eDoes stuff\u003c/div\u003e\n            \u003cdiv class=\"grid__unit\" u-md=\"cols:3\"\u003eDoes more stuff\u003c/div\u003e\n            \u003cdiv class=\"grid__unit\" u-md=\"cols:3\"\u003eDoes even more stuff\u003c/div\u003e\n            \u003cdiv class=\"grid__unit\" u-md=\"cols:3\"\u003eIt just does all the stuff!\u003c/div\u003e\n        \u003c/div\u003e\n\n    ...\n    \u003c/html\u003e\n\nFind more examples on the [example/example.html](http://digitaledgeit.github.io/sass-grid/example/example.html) page.\n\n## Breakpoints\n\nSee [sass-named-breakpoints](https://www.npmjs.com/package/sass-named-breakpoints).\n\n## Building your own grid\n\n1. Requires sass \u003e=3.4\n2. Customise the grid settings in `config.scss`\n3. Run `npm install`\n4. Run `npm run build`\n\n## Notes\n\n### Why 12 columns?\nTwelve is easily divisible by lots of numbers e.g. 2, 3, 4, 6\n\n### Why mixins over extends?\n\nhttps://tech.bellycard.com/blog/sass-mixins-vs-extends-the-data/\n\n### Other responsive utils\n\nCheckout [sass-named-breakpoints](https://www.npmjs.com/package/sass-named-breakpoints) and [sass-spacing](https://www.npmjs.com/package/sass-spacing).\n\n## License\n\nThe MIT License (MIT)\n\nCopyright (c) 2014 James Newell\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigitaledgeit%2Fsass-grid","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdigitaledgeit%2Fsass-grid","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdigitaledgeit%2Fsass-grid/lists"}