{"id":22131822,"url":"https://github.com/forthright48/simplecss","last_synced_at":"2026-01-06T11:05:23.598Z","repository":{"id":136140765,"uuid":"61467611","full_name":"forthright48/simplecss","owner":"forthright48","description":"A simple css framework using flexbox","archived":false,"fork":false,"pushed_at":"2016-08-13T07:24:52.000Z","size":35,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-04T19:05:36.405Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/forthright48.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","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":"2016-06-19T06:29:55.000Z","updated_at":"2016-06-19T07:08:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"f52eaeeb-0169-4381-b6fe-bfcd83b7cebe","html_url":"https://github.com/forthright48/simplecss","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forthright48%2Fsimplecss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forthright48%2Fsimplecss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forthright48%2Fsimplecss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forthright48%2Fsimplecss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/forthright48","download_url":"https://codeload.github.com/forthright48/simplecss/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245240990,"owners_count":20583139,"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-12-01T18:37:49.010Z","updated_at":"2026-01-06T11:05:23.510Z","avatar_url":"https://github.com/forthright48.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SimpleCSS\n\nA simple minimalistic CSS framework that uses flexbox grid.\n\nPlease, do not expect anything from the framework, cause I am not sure what I am doing.\n\n## Normalize.css\n\nFirst of all, include normalize.css file from src in the project to normalize browser behavior. Refer to [Normalize.css](https://necolas.github.io/normalize.css/) for more details.\n\n## Row, Column, Tower and Container\n\nThe whole flexbox system depends on the following four classes: `container, tower, row, col`.\n\n'container' is a vertical flex-container. Originally it was a class to determine the width of the site, but later turned into flex only for one reason: sticky footer. The container should be used to create stick-footer only. It should appear right after body tag only and no where else.\n\nIn case we need vertical flex-container, we can use `tower`. It is a flex-container and if nested in another container will also act as flex item.\n\n`row` is a horizontal flex-container, which can act as a container if nested.\n\n`item` is flex-item only.\n\n## `one`, `two`, `three` ... `twelve` and `any`\n\nThe literal numbers `one`, `two` and such forms the basis of the flex items. `any` means there is no fixed basis, it will dynamically allocate the basis like a normal flexbox.\n\n## Sticky Footer\nBased on the article [Sticky Footer](https://philipwalton.github.io/solved-by-flexbox/demos/sticky-footer/), the following will create sticky footer:\n\n```\n\u003cdiv class=\"container\"\u003e\n\n  \u003cheader class=\"row\"\u003e\n  \u003c/header\u003e\n\n  \u003cmain class=\"u-flex\"\u003e\n  \u003c/main\u003e\n\n  \u003cfooter class=\"row\"\u003e\n  \u003c/footer\u003e\n\n\u003c/div\u003e\n```\n\nNote the `u-flex` class on main tag. That class forces the main tag to use up all the empty space around, thus pushing the footer to bottom.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fforthright48%2Fsimplecss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fforthright48%2Fsimplecss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fforthright48%2Fsimplecss/lists"}