{"id":18626839,"url":"https://github.com/adamseckel/flex-attributes","last_synced_at":"2025-04-11T05:31:18.105Z","repository":{"id":58219201,"uuid":"64777219","full_name":"adamseckel/flex-attributes","owner":"adamseckel","description":"Compose layout with flexbox in html.","archived":false,"fork":false,"pushed_at":"2017-02-10T22:30:50.000Z","size":35,"stargazers_count":6,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-10T15:24:39.614Z","etag":null,"topics":["attributes","css","flexbox","grid-layout","mobile-first"],"latest_commit_sha":null,"homepage":null,"language":"CSS","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/adamseckel.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":"2016-08-02T17:23:02.000Z","updated_at":"2021-07-17T21:30:23.000Z","dependencies_parsed_at":"2022-08-31T18:22:40.113Z","dependency_job_id":null,"html_url":"https://github.com/adamseckel/flex-attributes","commit_stats":null,"previous_names":["hemlok/flex-attributes"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamseckel%2Fflex-attributes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamseckel%2Fflex-attributes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamseckel%2Fflex-attributes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adamseckel%2Fflex-attributes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adamseckel","download_url":"https://codeload.github.com/adamseckel/flex-attributes/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223460153,"owners_count":17148734,"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":["attributes","css","flexbox","grid-layout","mobile-first"],"created_at":"2024-11-07T04:39:18.574Z","updated_at":"2024-11-07T04:39:19.123Z","avatar_url":"https://github.com/adamseckel.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"Flex Attributes\n=============\n\nThis library (1kb gzipped) allows you to compose layout with flexbox in html, allowing for rapid prototyping, easy visulization of layout in HTML, and reduced CSS footprint and duplication.\n\nInstallation\n------------\n\n```\nnpm install flex-attributes\n```\n\nAdd, import, or require `flex-attributes/flex-attributes.css` into your project.\n\nYou can compile the source files with your own breakpoints, located ./src/variables.styl with `gulp`\n\nAttributes\n------------\nContainers:\n* `flex`\n* `column`\n* `row`\n* `layout=\"space-between\"`\n* `layout=\"space-between center\" (etc)`\n* `wrap`\n* `wrap=\"nowrap || wrap-reverse\"`\n\nChildren:\n* `grow`\n* `grow=\"*\" (0-10)`\n* `shrink`\n* `shrink=\"*\" (0-10)`\n* `grid-* (1-12)`\n* `grid-sm-* (1-12)`\n* `align`\n\nExamples\n------------\nContainers are composed by combining `flex`, `column` or `row`, and `layout`.\n\n`layout` accepts 1 or 2 arguments, main axis (justify-content), then secondary axis (align-items).\n\n `flex row layout=\"space-between stretch\"`\n\nGrids are composed by using `grid-lg-*` etc.\n\nChildren are grown and shrunk with `grow=\"3\"` or `shrink=\"4\"`\n\n`column` and `row`, as well as `grid-*` can be declared with a breakpoints\n\n`flex column row-md layout=\"space-between\"` (will render a column on screens smaller than 970px)\n\n`grid-md-6` (will render a column with flex-basis of 50%, on devices larger than 970px)\n\nBreakpoints (Bootstrap)\n------------\n\n`xs` screens greater than 0px\n\n`sm` screens greater than 750px\n\n`md` screens greater than 970px\n\n`lg` screens greater than 1170px\n\nReact\n------------\nAppend `data-`\n\nContributing\n------------\n\nGo fur it\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamseckel%2Fflex-attributes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadamseckel%2Fflex-attributes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadamseckel%2Fflex-attributes/lists"}