{"id":16920821,"url":"https://github.com/dherault/flexpad","last_synced_at":"2025-04-11T16:39:49.704Z","repository":{"id":23312153,"uuid":"98692333","full_name":"dherault/flexpad","owner":"dherault","description":"CSS grid: no more rows and columns","archived":false,"fork":false,"pushed_at":"2024-03-25T14:55:09.000Z","size":1014,"stargazers_count":7,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-02T00:56:44.014Z","etag":null,"topics":["css","flexbox","grid","layout"],"latest_commit_sha":null,"homepage":"https://dherault.github.io/flexpad","language":"HTML","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/dherault.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-28T22:19:34.000Z","updated_at":"2024-06-21T17:38:52.856Z","dependencies_parsed_at":"2024-06-21T17:38:43.882Z","dependency_job_id":"3160a193-fb9a-49ab-a6c2-df279c60e01e","html_url":"https://github.com/dherault/flexpad","commit_stats":{"total_commits":53,"total_committers":4,"mean_commits":13.25,"dds":"0.16981132075471694","last_synced_commit":"232156814b8542a36df76d37f1349843511c5f26"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dherault%2Fflexpad","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dherault%2Fflexpad/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dherault%2Fflexpad/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dherault%2Fflexpad/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dherault","download_url":"https://codeload.github.com/dherault/flexpad/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248441927,"owners_count":21104104,"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","flexbox","grid","layout"],"created_at":"2024-10-13T19:49:42.188Z","updated_at":"2025-04-11T16:39:49.686Z","avatar_url":"https://github.com/dherault.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flexpad\n\nFlexpad is a set of CSS classes to quickly make any flexbox layout using opinionated naming conventions.\n\n## How it works\n\n```\n- Choose an axis for your container: x or y\n- Think of a keypad:  1 2 4\n                      4 5 6\n                      7 8 9\n- Pick the number corresponding to the alignment you want for your content\n- Assign the class to your container:\n```\n```html\n\u003cdiv class=\"x5\"\u003e\n  \u003cdiv\u003eAll centered\u003c/div\u003e\n\u003c/div\u003e\n\u003cdiv class=\"y1\"\u003e\n  \u003cdiv\u003eTop left y aligned\u003c/div\u003e\n\u003c/div\u003e\n```\n\nHave a look at [the demo](https://dherault.github.io/flexpad/) for all the 348 variations.\n\n## Usage\n\n#### JavaScript\n\n`npm install flexpad --save`\n\nInject CSS:\n```js\nimport 'flexpad/dist/flexpad.css'\n// or, prefixed and minified\nimport 'flexpad/dist/flexpad.min.css'\n```\n\nUse with inline styles:\n```js\nimport fp from 'flexpad'\n\nconst Menu = () =\u003e (\n  \u003cdiv style={fp('x5b')}\u003e\n    // ...\n  \u003c/div\u003e\n)\n```\n\n#### HTML\n\nDownload the CSS file: [basic](https://raw.githubusercontent.com/dherault/flexpad/master/dist/flexpad.css) or [prefixed and minified](https://raw.githubusercontent.com/dherault/flexpad/master/dist/flexpad.min.css).\n\nUse a CDN:\n```html\n\u003clink rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/npm/flexpad@4.0.2/dist/flexpad.min.css\"\u003e\n```\n\n## Contributing\n\nYes, thank you.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdherault%2Fflexpad","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdherault%2Fflexpad","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdherault%2Fflexpad/lists"}