{"id":17050270,"url":"https://github.com/briangonzalez/gridss","last_synced_at":"2025-07-30T01:38:41.005Z","repository":{"id":57254256,"uuid":"115425945","full_name":"briangonzalez/gridss","owner":"briangonzalez","description":"A CSS Grid microlib.","archived":false,"fork":false,"pushed_at":"2018-01-07T21:02:26.000Z","size":128,"stargazers_count":15,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-12T16:47:04.130Z","etag":null,"topics":["css","grid"],"latest_commit_sha":null,"homepage":"https://codepen.io/briangonzalez/pen/jYyOOw?editors=1100","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/briangonzalez.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":"2017-12-26T13:47:28.000Z","updated_at":"2023-11-08T11:17:59.000Z","dependencies_parsed_at":"2022-08-31T09:02:03.087Z","dependency_job_id":null,"html_url":"https://github.com/briangonzalez/gridss","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/briangonzalez/gridss","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/briangonzalez%2Fgridss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/briangonzalez%2Fgridss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/briangonzalez%2Fgridss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/briangonzalez%2Fgridss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/briangonzalez","download_url":"https://codeload.github.com/briangonzalez/gridss/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/briangonzalez%2Fgridss/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267793367,"owners_count":24145024,"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-07-29T02:00:12.549Z","response_time":2574,"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":["css","grid"],"created_at":"2024-10-14T09:56:29.246Z","updated_at":"2025-07-30T01:38:40.964Z","avatar_url":"https://github.com/briangonzalez.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg src=\"https://user-images.githubusercontent.com/659829/34358025-e49c0b0e-ea00-11e7-990b-bc189723168d.png\" alt=\"gridss logo\" width=\"300\"\u003e\n\n[![npm](https://img.shields.io/npm/v/gridss.svg?style=flat-square)](https://www.npmjs.com/package/gridss)\n\n### Description\n\ngridss provides a mobile-first 12-column grid applied using object oriented css. It weights in at **~2kb**.\n\n**[Demo →](https://codepen.io/briangonzalez/pen/jYyOOw?editors=1100)**\n\n\n### Installation \u0026 Usage\n\n```\nnpm install --save gridss\n```\n\n```html\n\u003clink rel=\"stylesheet\" href=\"https://unpkg.com/gridss/grid.min.css\"\u003e\n```\n\n### Docs\n\nThe source code is quite explanatory, but here are the general classes you can apply:\n\n**Container**\n\n```\n.gridss\n```\n\n**Span Columns**\n```\n.col-{1..12}\n.col-s-{1...12}\n.col-m-{1...12}\n.col-l-{1...12}\n.col-xl-{1...12}\n```\n\n**Start-End Columns**\n\n```\n.col-s-{1...12}-{1-12}\n.col-m-{1...12}-{1-12}\n.col-l-{1...12}-{1-12}\n.col-xl-{1...12}-{1-12}\n```\n\nFor example:\n\n```html\n\u003cdiv class=\"gridss\"\u003e\n  \u003cdiv class=\"col-12 col-s-10 col-m-8 col-l-6 col-xl-4\"\u003e\n    12 columns mobile\n    10 columns x-small and above\n    8 columns medium and above\n    6 columns large and above\n    4 columns x-large and above\n  \u003c/div\u003e\n\u003c/div\u003e\n```\n\n```html\n\u003cdiv class=\"gridss\"\u003e\n  \u003cdiv class=\"col-1-8\"\u003e\u003c/div\u003e\n  \u003cdiv class=\"col-8-13\"\u003e\u003c/div\u003e\n\u003c/div\u003e\n```\n\n### What do you mean by mobile first?\n\nIt means that the sized-based grid classes function on _that size and larger._\n\n**mobile first grid (like gridss)**: `col-l-6` applied to widths at or above \"large\"\n\n**non-mobile first grid**: `col-l-6` applied to width at or below \"large\"\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbriangonzalez%2Fgridss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbriangonzalez%2Fgridss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbriangonzalez%2Fgridss/lists"}