{"id":19892641,"url":"https://github.com/ishoshot/space-css","last_synced_at":"2025-09-16T17:19:09.570Z","repository":{"id":57161785,"uuid":"227110532","full_name":"Ishoshot/Space-CSS","owner":"Ishoshot","description":"Introducing a Highly Responsive Modern Trend Spacing CSS Framework.","archived":false,"fork":false,"pushed_at":"2020-01-27T08:40:15.000Z","size":116,"stargazers_count":6,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-04T23:22:59.557Z","etag":null,"topics":["css","css-framework","css3","front-end-development","margin-auto","paddings","responsive-design","spacing-classes"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@space-css/space-css","language":"CSS","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/Ishoshot.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}},"created_at":"2019-12-10T12:04:33.000Z","updated_at":"2024-10-18T21:26:06.000Z","dependencies_parsed_at":"2022-09-04T16:01:10.379Z","dependency_job_id":null,"html_url":"https://github.com/Ishoshot/Space-CSS","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Ishoshot/Space-CSS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ishoshot%2FSpace-CSS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ishoshot%2FSpace-CSS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ishoshot%2FSpace-CSS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ishoshot%2FSpace-CSS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ishoshot","download_url":"https://codeload.github.com/Ishoshot/Space-CSS/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ishoshot%2FSpace-CSS/sbom","scorecard":{"id":67965,"data":{"date":"2025-08-11","repo":{"name":"github.com/Ishoshot/Space-CSS","commit":"526fdc6208c818293d62bd0e1cf41591e285734d"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-15T03:03:51.738Z","repository_id":57161785,"created_at":"2025-08-15T03:03:51.738Z","updated_at":"2025-08-15T03:03:51.738Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275457444,"owners_count":25468234,"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-09-16T02:00:10.229Z","response_time":65,"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","css-framework","css3","front-end-development","margin-auto","paddings","responsive-design","spacing-classes"],"created_at":"2024-11-12T18:24:34.098Z","updated_at":"2025-09-16T17:19:08.855Z","avatar_url":"https://github.com/Ishoshot.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @space-css/space-css\n\n![NPM](https://img.shields.io/npm/l/@space-css/space-css) ![npm (scoped)](https://img.shields.io/npm/v/@space-css/space-css)\n\nSpace CSS is a highly responsive mordern trend spacing library for margins, paddings and more..\n\n## Usage\n\n\n### CDN\n\n```html\n\u003chead\u003e\n  \u003c!-- other stuff --\u003e\n  \u003clink rel=\"stylesheet\" href=\"https://unpkg.com/@space-css/space-css@1.0.1/space.min.css\"\n/\u003e\n\u003c/head\u003e\n```\n\n### Install with npm\n\n\n```npm\n$ npm i @space-css/space-css\n```\n\nThese elements have no padding:\n\n```html\n\u003cbody\u003e\n  \u003ch1 class=\"sp-p-0\"\u003eLorem ipsum\u003c/h1\u003e\n  \u003ch2 class=\"sp-p-0\"\u003eDolor sit\u003c/h2\u003e\n\u003c/body\u003e\n```\n\nThis navigation is centered:\n\n```html\n\u003cbody\u003e\n  \u003cnav class=\"sp-m-auto\"\u003e\n    \u003ca href=\"/\"\u003eHome\u003c/a\u003e\n  \u003c/nav\u003e\n\u003c/body\u003e\n```\n\n## How it works\n\nAll classes are composed of some simple parts.\n\n### 1.Property prefix\n\n```css\nsp  =   space\nm   =   margin\np   =   padding\n\n```\nAll properties have !important as you should only add those classes, if you definitely want a specific behavior.\n\n### 2. Possible classes (normal syntax)\nMargin classes (they start with m) can have positive and negative values, padding classes (replace the leading m with a p) only have positive values.\n\nWidth and Height Sizes are specified in %\nsp: coined from the word space css\nh: height\nw: width\nmh: max-height\nmw: max-width\n\n\n#### Traditional width classes \n\n```css\n.sp-w-20\n.sp-w-30\n.sp-w-40\n.sp-w-50\n.sp-w-60\n.sp-w-70\n.sp-w-80\n.sp-w-90\n.sp-w-100\n.sp-w-auto\n.sp-mw-100  \n\n```\n\n#### Traditional height classes\n\n```css\n\n.sp-h-20\n.sp-h-30\n.sp-h-40\n.sp-h-50\n.sp-h-60\n.sp-h-70\n.sp-h-80\n.sp-h-90\n.sp-h-100\n.sp-h-auto\n.sp-mh-100\n\n```\n\n#### Viewport classes\n```css\n.sp-min-vw-10 - min view width\n.sp-min-vh-100  - min view height\n.sp-vw-100 - view width\n.sp-vh-100 - view height\n\n```\n\n### Margin Classes\n\n#### Margin Classes With Range Of 0-10\n\n```css\n.sp-m-    (0-10) \n.sp-mt-   (0-10)\n.sp-my-   (0-10)\n.sp-mr-   (0-10)\n.sp-mx-   (0-10)\n.sp-mb-   (0-10)\n.sp-my-   (0-10)\n.sp-ml-   (0-10)\n.sp-mx-   (0-10)\n```\n\n#### Margin  NEGATIVE Classes With Range Of 0-10\n\n```css\n.sp-m-n    (0-10) \n.sp-mt-n   (0-10)\n.sp-my-n   (0-10)\n.sp-mr-n   (0-10)\n.sp-mx-n   (0-10)\n.sp-mb-n   (0-10)\n.sp-my-n   (0-10)\n.sp-ml-n   (0-10)\n.sp-mx-n   (0-10)\n\n```\n\n#### Margin Auto\n\n```css\n\n.sp-m-auto\n.sp-mt-auto\n.sp-my-auto\n.sp-mr-auto\n.sp-mx-auto\n.sp-mb-auto,\n.sp-my-auto \n.sp-ml-auto\n.sp-mx-auto \n\n```\n\n### Margin Classes For {SM}  @media (min-width: 576px) {}   screens  With Range Of 0-10\n\n```css\n.sp-m-sm    (0-10) \n.sp-mt-sm   (0-10)\n.sp-my-sm   (0-10)\n.sp-mr-sm   (0-10)\n.sp-mx-sm   (0-10)\n.sp-mb-sm   (0-10)\n.sp-my-sm   (0-10)\n.sp-ml-sm   (0-10)\n.sp-mx-sm   (0-10)\n```\n\n#### Margin  NEGATIVE Classes For {SM}  @media (min-width: 576px) {}   screens With Range Of 0-10\n\n```css\n.sp-m-sm-n    (0-10) \n.sp-mt-sm-n   (0-10)\n.sp-my-sm-n   (0-10)\n.sp-mr-sm-n   (0-10)\n.sp-mx-sm-n   (0-10)\n.sp-mb-sm-n   (0-10)\n.sp-my-sm-n   (0-10)\n.sp-ml-sm-n   (0-10)\n.sp-mx-sm-n   (0-10)\n\n```\n\n#### Margin AUTO Class For {SM}  @media (min-width: 576px) {}   screens\n\n```css\n.sp-m-sm-auto\n.sp-mt-sm-auto\n.sp-my-sm-auto\n.sp-mr-sm-auto\n.sp-mx-sm-auto\n.sp-mb-sm-auto,\n.sp-my-sm-auto \n.sp-ml-sm-auto\n.sp-mx-sm-auto \n```\n\n\n### Margin Classes For {MD}  @media (min-width: 768px) {} screens  With Range Of 0-10\n\n```css\n.sp-m-md    (0-10) \n.sp-mt-md   (0-10)\n.sp-my-md   (0-10)\n.sp-mr-md   (0-10)\n.sp-mx-md   (0-10)\n.sp-mb-md   (0-10)\n.sp-my-md   (0-10)\n.sp-ml-md   (0-10)\n.sp-mx-md   (0-10)\n```\n\n#### Margin  NEGATIVE Classes For {MD}  @media (min-width: 768px) {} screens With Range Of 0-10\n\n```css\n.sp-m-md-n    (0-10) \n.sp-mt-md-n   (0-10)\n.sp-my-md-n   (0-10)\n.sp-mr-md-n   (0-10)\n.sp-mx-md-n   (0-10)\n.sp-mb-md-n   (0-10)\n.sp-my-md-n   (0-10)\n.sp-ml-md-n   (0-10)\n.sp-mx-md-n   (0-10)\n```\n\n#### Margin AUTO Class For {MD}  @media (min-width: 768px) {} screens\n\n```css\n.sp-m-md-auto\n.sp-mt-md-auto\n.sp-my-md-auto\n.sp-mr-md-auto\n.sp-mx-md-auto\n.sp-mb-md-auto,\n.sp-my-md-auto \n.sp-ml-md-auto\n.sp-mx-md-auto \n```\n\n### Margin Classes For {LG}  @media (min-width: 992px) {} screens  With Range Of 0-10\n\n```css\n.sp-m-lg    (0-10) \n.sp-mt-lg   (0-10)\n.sp-my-lg   (0-10)\n.sp-mr-lg   (0-10)\n.sp-mx-lg   (0-10)\n.sp-mb-lg   (0-10)\n.sp-my-lg   (0-10)\n.sp-ml-lg   (0-10)\n.sp-mx-lg   (0-10)\n```\n\n#### Margin  NEGATIVE Classes For {LG}  @media (min-width: 992px) {} screens With Range Of 0-10\n\n```css\n.sp-m-lg-n    (0-10) \n.sp-mt-lg-n   (0-10)\n.sp-my-lg-n   (0-10)\n.sp-mr-lg-n   (0-10)\n.sp-mx-lg-n   (0-10)\n.sp-mb-lg-n   (0-10)\n.sp-my-lg-n   (0-10)\n.sp-ml-lg-n   (0-10)\n.sp-mx-lg-n   (0-10)\n\n```\n\n#### Margin AUTO Class For {LG}  @media (min-width: 992px) {} screens\n\n```css\n.sp-m-lg-auto\n.sp-mt-lg-auto\n.sp-my-lg-auto\n.sp-mr-lg-auto\n.sp-mx-lg-auto\n.sp-mb-lg-auto,\n.sp-my-lg-auto \n.sp-ml-lg-auto\n.sp-mx-lg-auto \n```\n\n### Margin Classes For {XL}  @media (min-width: 1200px) {} screens  With Range Of 0-10\n\n```css\n.sp-m-xl    (0-10) \n.sp-mt-xl   (0-10)\n.sp-my-xl   (0-10)\n.sp-mr-xl   (0-10)\n.sp-mx-xl   (0-10)\n.sp-mb-xl   (0-10)\n.sp-my-xl   (0-10)\n.sp-ml-xl   (0-10)\n.sp-mx-xl   (0-10)\n```\n\n#### Margin  NEGATIVE Classes For {XL}  @media (min-width: 1200px) {} screens With Range Of 0-10\n\n```css\n.sp-m-xl-n    (0-10) \n.sp-mt-xl-n   (0-10)\n.sp-my-xl-n   (0-10)\n.sp-mr-xl-n   (0-10)\n.sp-mx-xl-n   (0-10)\n.sp-mb-xl-n   (0-10)\n.sp-my-xl-n   (0-10)\n.sp-ml-xl-n   (0-10)\n.sp-mx-xl-n   (0-10)\n\n```\n\n#### Margin AUTO Class For {XL}  @media (min-width: 1200px) {} screens\n\n```css\n.sp-m-xl-auto\n.sp-mt-xl-auto\n.sp-my-xl-auto\n.sp-mr-xl-auto\n.sp-mx-xl-auto\n.sp-mb-xl-auto,\n.sp-my-xl-auto \n.sp-ml-xl-auto\n.sp-mx-xl-auto \n```\n\n\n### Padding Classes \n\n```css\n.sp-p-    (0-10)\n.sp-pt-   (0-10)\n.sp-py-   (0-10)\n.sp-pr-   (0-10)\n.sp-px-   (0-10)\n.sp-pb-   (0-10)\n.sp-py-   (0-10)\n.sp-pl-   (0-10)\n.sp-px-   (0-10)\n```\n### Padding Classes For {SM}  @media (min-width: 576px) {} screens  With Range Of 0-5\n\n```css\n.sp-p-sm    (0-5) \n.sp-pt-sm   (0-5)\n.sp-py-sm   (0-5)\n.sp-pr-sm   (0-5)\n.sp-px-sm   (0-5)\n.sp-pb-sm   (0-5)\n.sp-py-sm   (0-5)\n.sp-pl-sm   (0-5)\n.sp-px-sm   (0-5)\n```\n\n\n#### Padding AUTO Class For {SM}  @media (min-width: 576px) {} screens\n\n```css\n.sp-p-sm-auto\n.sp-pt-sm-auto\n.sp-py-sm-auto\n.sp-pr-sm-auto\n.sp-px-sm-auto\n.sp-pb-sm-auto,\n.sp-py-sm-auto \n.sp-pl-sm-auto\n.sp-px-sm-auto \n```\n\n\n### Padding Classes For {MD}  @media (min-width: 768px) {} screens  With Range Of 0-5\n\n```css\n.sp-p-md    (0-5) \n.sp-pt-md   (0-5)\n.sp-py-md   (0-5)\n.sp-pr-md   (0-5)\n.sp-px-md   (0-5)\n.sp-pb-md   (0-5)\n.sp-py-md   (0-5)\n.sp-pl-md   (0-5)\n.sp-px-md   (0-5)\n```\n\n\n#### Padding AUTO Class For {MD}  @media (min-width: 768px) {} screens\n\n```css\n\n.sp-p-md-auto\n.sp-pt-md-auto\n.sp-py-md-auto\n.sp-pr-md-auto\n.sp-px-md-auto\n.sp-pb-md-auto,\n.sp-py-md-auto \n.sp-pl-md-auto\n.sp-px-md-auto \n\n```\n### Padding Classes For {LG}  @media (min-width: 992px) {} screens  With Range Of 0-5\n\n```css\n.sp-p-lg    (0-5) \n.sp-pt-lg   (0-5)\n.sp-py-lg   (0-5)\n.sp-pr-lg   (0-5)\n.sp-px-lg   (0-5)\n.sp-pb-lg   (0-5)\n.sp-py-lg   (0-5)\n.sp-pl-lg   (0-5)\n.sp-px-lg   (0-5)\n```\n\n\n#### Padding AUTO Class For {LG}  @media (min-width: 992px) {} screens\n\n```css\n\n.sp-p-lg-auto\n.sp-pt-lg-auto\n.sp-py-lg-auto\n.sp-pr-lg-auto\n.sp-px-lg-auto\n.sp-pb-lg-auto,\n.sp-py-lg-auto \n.sp-pl-lg-auto\n.sp-px-lg-auto \n\n```\n\n### Padding Classes For {XL}  @media (min-width: 1200px) {} screens  With Range Of 0-5\n\n```css\n.sp-p-xl    (0-5) \n.sp-pt-xl   (0-5)\n.sp-py-xl   (0-5)\n.sp-pr-xl   (0-5)\n.sp-px-xl   (0-5)\n.sp-pb-xl   (0-5)\n.sp-py-xl   (0-5)\n.sp-pl-xl   (0-5)\n.sp-px-xl   (0-5)\n```\n\n\n#### Padding AUTO Class For {XL}  @media (min-width: 1200px) {} screens\n\n```css\n\n.sp-p-xl-auto\n.sp-pt-xl-auto\n.sp-py-xl-auto\n.sp-pr-xl-auto\n.sp-px-xl-auto\n.sp-pb-xl-auto,\n.sp-py-xl-auto \n.sp-pl-xl-auto\n.sp-px-xl-auto \n\n```\n\n## Notes\n\nAll space css class properties have !important as you should only add those classes, if you definitely want a specific behavior.\n\nWidth \u0026 Heights Sizes are defined in:\n\n```css\n%\n```\nWhile Margin and Padding sizes are defined in \n\n```csss\nrem\n```\nBut why rem?\n  Our primary purpose of using rem is to ensure that whatever default font size a user has their browser set to, the layout will adjust to accommodate the size of text or elements within it.\n\nIf you want the the class on just one screen size, you need to set the other classes to default(0)\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n\n## Authors\nMade with  💜 By  [Oluwatobi Ishola](http://twitter.com/mroluwatobby) \u0026  [Folorunso Adesanya](http://twitter.com/devfolorunso)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fishoshot%2Fspace-css","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fishoshot%2Fspace-css","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fishoshot%2Fspace-css/lists"}