{"id":15171998,"url":"https://github.com/isuke/postcss-ghost-utils","last_synced_at":"2026-01-25T02:33:46.847Z","repository":{"id":57328058,"uuid":"149285787","full_name":"isuke/postcss-ghost-utils","owner":"isuke","description":"PostCSS plugin to add helper utils for your CSS","archived":false,"fork":false,"pushed_at":"2023-02-09T18:07:14.000Z","size":190,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-03T06:25:41.215Z","etag":null,"topics":["css","postcss","postcss-plugin"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/isuke.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":"2018-09-18T12:37:23.000Z","updated_at":"2022-10-23T13:05:37.000Z","dependencies_parsed_at":"2024-10-11T01:20:59.268Z","dependency_job_id":"72ddaff5-15b7-4616-a777-acb29c897f07","html_url":"https://github.com/isuke/postcss-ghost-utils","commit_stats":{"total_commits":47,"total_committers":1,"mean_commits":47.0,"dds":0.0,"last_synced_commit":"474b3b9aff71c57cd5087e3a2f766ae1fa7cfa69"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/isuke/postcss-ghost-utils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isuke%2Fpostcss-ghost-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isuke%2Fpostcss-ghost-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isuke%2Fpostcss-ghost-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isuke%2Fpostcss-ghost-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/isuke","download_url":"https://codeload.github.com/isuke/postcss-ghost-utils/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isuke%2Fpostcss-ghost-utils/sbom","scorecard":{"id":496438,"data":{"date":"2025-08-11","repo":{"name":"github.com/isuke/postcss-ghost-utils","commit":"474b3b9aff71c57cd5087e3a2f766ae1fa7cfa69"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.5,"checks":[{"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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/main.yml:1","Info: no jobLevel write permissions found"],"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":"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":"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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/isuke/postcss-ghost-utils/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/isuke/postcss-ghost-utils/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:25: update your workflow using https://app.stepsecurity.io/secureworkflow/isuke/postcss-ghost-utils/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/isuke/postcss-ghost-utils/main.yml/master?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/main.yml:21","Warn: npmCommand not pinned by hash: .github/workflows/main.yml:31","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 npmCommand dependencies pinned"],"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":"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":"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"}},{"name":"Vulnerabilities","score":0,"reason":"41 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-6chw-6frg-f759","Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-cwfw-4gq5-mrqx","Warn: Project is vulnerable to: GHSA-g95f-p29q-9xw4","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-x9w5-v3q2-3rhw","Warn: Project is vulnerable to: GHSA-hc9w-4p87-j549","Warn: Project is vulnerable to: GHSA-wg6g-ppvx-927h","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-vh7m-p724-62c2","Warn: Project is vulnerable to: GHSA-r9p9-mrjm-926w","Warn: Project is vulnerable to: GHSA-434g-2637-qmqr","Warn: Project is vulnerable to: GHSA-49q7-c7j4-3p7m","Warn: Project is vulnerable to: GHSA-977x-g7h5-7qgw","Warn: Project is vulnerable to: GHSA-f7q4-pwc6-w24p","Warn: Project is vulnerable to: GHSA-fc9h-whq2-v747","Warn: Project is vulnerable to: GHSA-vjh7-7g9h-fjfh","Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h","Warn: Project is vulnerable to: GHSA-6c8f-qphg-qjgp","Warn: Project is vulnerable to: GHSA-jf85-cpcp-j695","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-vh95-rmgr-6w4m","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-fhjf-83wg-r2j9","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-hj48-42vr-x3v9","Warn: Project is vulnerable to: GHSA-h7cp-r72f-jxh6","Warn: Project is vulnerable to: GHSA-v62p-rq8g-8h59","Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-4g88-fppr-53pp","Warn: Project is vulnerable to: GHSA-4jqc-8m5r-9rpr","Warn: Project is vulnerable to: GHSA-g4rg-993r-mgx7","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-19T20:31:39.591Z","repository_id":57328058,"created_at":"2025-08-19T20:31:39.591Z","updated_at":"2025-08-19T20:31:39.591Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28742512,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T01:40:51.112Z","status":"online","status_checked_at":"2026-01-25T02:00:06.841Z","response_time":113,"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","postcss","postcss-plugin"],"created_at":"2024-09-27T09:23:31.787Z","updated_at":"2026-01-25T02:33:46.831Z","avatar_url":"https://github.com/isuke.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# postcss-ghost-utils [![Test and Lint](https://github.com/isuke/postcss-ghost-utils/actions/workflows/main.yml/badge.svg)](https://github.com/isuke/postcss-ghost-utils/actions/workflows/main.yml) [![\"npm\"](https://img.shields.io/npm/v/postcss-ghost-utils.svg)](https://www.npmjs.com/package/postcss-ghost-utils) [![\"git-consistent friendly\"](https://img.shields.io/badge/git--consistent-friendly-brightgreen.svg)](https://github.com/isuke/git-consistent)\n\n\u003cimg align=\"center\" src=\"https://raw.githubusercontent.com/isuke/postcss-ghost-utils/images/title-plain.png\"\u003e\n\n[![\"node v14\"](https://img.shields.io/badge/node-v14-026e00.svg)](https://nodejs.org/ja/download/releases/)\n[![\"node v16\"](https://img.shields.io/badge/node-v16-026e00.svg)](https://nodejs.org/ja/download/releases/)\n[![\"node v18\"](https://img.shields.io/badge/node-v18-026e00.svg)](https://nodejs.org/ja/download/releases/)\n\npostcss-ghost-utils is a [PostCSS](https://github.com/postcss/postcss) plugin.\n\nThis plugin can give you useful css syntax.\n**It is NOT include old css technique (ex. clearfix).**\n\n## Usage\n\n### Install\n\n```sh\n$ npm install -D postcss postcss-ghost-utils\n# or\n$ yarn add -D postcss postcss-ghost-utils\n```\n\n`.postcss.config.js`\n```js\nmodule.exports = {\n  plugins: [\n    require('postcss-ghost-utils')\n  ]\n}\n```\n\n## Rule List\n\n### font-size-line-height\n\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd\u003e Input \u003c/td\u003e \u003ctd\u003e Output \u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\n\n```css\n.one {\n  @ghost font-size-line-height(16px, 2px);\n}\n```\n\n\u003c/td\u003e\n\u003ctd\u003e\n\n```css\n.one {\n  font-size: 16px;\n  line-height: calc(16px + 2px * 2);\n}\n```\n\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\n### new-line\n\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd\u003e Input \u003c/td\u003e \u003ctd\u003e Output \u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\n\n```css\n.one {\n  @ghost new-line;\n}\n```\n\n\u003c/td\u003e\n\u003ctd\u003e\n\n```css\n.one {\n  white-space: pre-wrap;\n  word-wrap: break-word;\n}\n```\n\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\n### truncate\n\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd\u003e Input \u003c/td\u003e \u003ctd\u003e Output \u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\n\n```css\n.one {\n  @ghost truncate;\n}\n\n.two {\n  @ghost truncate('-');\n}\n```\n\n\u003c/td\u003e\n\u003ctd\u003e\n\n```css\n.one {\n  white-space: nowrap;\n  overflow: hidden;\n  text-overflow: ellipsis;\n}\n\n.two {\n  white-space: nowrap;\n  overflow: hidden;\n  text-overflow: '-';\n}\n```\n\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\n### margin-left-right\n\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd\u003e Input \u003c/td\u003e \u003ctd\u003e Output \u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\n\n```css\n.one {\n  @ghost margin-left-right(16px);\n}\n```\n\n\u003c/td\u003e\n\u003ctd\u003e\n\n```css\n.one {\n  margin-left: 16px;\n  margin-right: 16px;\n}\n```\n\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\n### margin-top-bottom\n\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd\u003e Input \u003c/td\u003e \u003ctd\u003e Output \u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\n\n```css\n.one {\n  @ghost margin-top-bottom(16px);\n}\n```\n\n\u003c/td\u003e\n\u003ctd\u003e\n\n```css\n.one {\n  margin-top: 16px;\n  margin-bottom: 16px;\n}\n```\n\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\n### padding-left-right\n\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd\u003e Input \u003c/td\u003e \u003ctd\u003e Output \u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\n\n```css\n.one {\n  @ghost padding-left-right(16px);\n}\n```\n\n\u003c/td\u003e\n\u003ctd\u003e\n\n```css\n.one {\n  padding-left: 16px;\n  padding-right: 16px;\n}\n```\n\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\n### padding-top-bottom\n\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd\u003e Input \u003c/td\u003e \u003ctd\u003e Output \u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\n\n```css\n.one {\n  @ghost padding-top-bottom(16px);\n}\n```\n\n\u003c/td\u003e\n\u003ctd\u003e\n\n```css\n.one {\n  padding-top: 16px;\n  padding-bottom: 16px;\n}\n```\n\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\n### border-left-right\n\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd\u003e Input \u003c/td\u003e \u003ctd\u003e Output \u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\n\n```css\n.one {\n  @ghost border-left-right(2px solid black);\n}\n```\n\n\u003c/td\u003e\n\u003ctd\u003e\n\n```css\n.one {\n  border-left: 2px solid black;\n  border-right: 2px solid black;\n}\n```\n\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\n### border-top-bottom\n\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd\u003e Input \u003c/td\u003e \u003ctd\u003e Output \u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\n\n```css\n.one {\n  @ghost border-top-bottom(2px solid black);\n}\n```\n\n\u003c/td\u003e\n\u003ctd\u003e\n\n```css\n.one {\n  border-top: 2px solid black;\n  border-bottom: 2px solid black;\n}\n```\n\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\n### border-top-radius\n\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd\u003e Input \u003c/td\u003e \u003ctd\u003e Output \u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\n\n```css\n.one {\n  @ghost border-top-radius(4px);\n}\n\n.two {\n  @ghost border-top-radius(4px 2px);\n}\n```\n\n\u003c/td\u003e\n\u003ctd\u003e\n\n```css\n.one {\n  border-top-left-radius: 4px;\n  border-top-right-radius: 4px;\n}\n\n.two {\n  border-top-left-radius: 4px 2px;\n  border-top-right-radius: 4px 2px;\n}\n```\n\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\n### border-bottom-radius\n\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd\u003e Input \u003c/td\u003e \u003ctd\u003e Output \u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\n\n```css\n.one {\n  @ghost border-bottom-radius(4px);\n}\n\n.two {\n  @ghost border-bottom-radius(4px 2px);\n}\n```\n\n\u003c/td\u003e\n\u003ctd\u003e\n\n```css\n.one {\n  border-bottom-left-radius: 4px;\n  border-bottom-right-radius: 4px;\n}\n\n.two {\n  border-bottom-left-radius: 4px 2px;\n  border-bottom-right-radius: 4px 2px;\n}\n```\n\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\n### border-left-radius\n\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd\u003e Input \u003c/td\u003e \u003ctd\u003e Output \u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\n\n```css\n.one {\n  @ghost border-left-radius(4px);\n}\n\n.two {\n  @ghost border-left-radius(4px 2px);\n}\n```\n\n\u003c/td\u003e\n\u003ctd\u003e\n\n```css\n.one {\n  border-top-left-radius: 4px;\n  border-bottom-left-radius: 4px;\n}\n\n.two {\n  border-top-left-radius: 4px 2px;\n  border-bottom-left-radius: 4px 2px;\n}\n```\n\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\n### border-right-radius\n\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd\u003e Input \u003c/td\u003e \u003ctd\u003e Output \u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\n\n```css\n.one {\n  @ghost border-right-radius(4px);\n}\n\n.two {\n  @ghost border-right-radius(4px 2px);\n}\n```\n\n\u003c/td\u003e\n\u003ctd\u003e\n\n```css\n.one {\n  border-top-right-radius: 4px;\n  border-bottom-right-radius: 4px;\n}\n\n.two {\n  border-top-right-radius: 4px 2px;\n  border-bottom-right-radius: 4px 2px;\n}\n```\n\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\n### size\n\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd\u003e Input \u003c/td\u003e \u003ctd\u003e Output \u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\n\n```css\n.one {\n  @ghost size(160px);\n}\n\n.two {\n  @ghost size(160px, 240px);\n}\n```\n\n\u003c/td\u003e\n\u003ctd\u003e\n\n```css\n.one {\n  width: 160px;\n  height: 160px;\n}\n\n.two {\n  width: 160px;\n  height: 240px;\n}\n```\n\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\n### circle\n\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd\u003e Input \u003c/td\u003e \u003ctd\u003e Output \u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\n\n```css\n.one {\n  @ghost circle(200px);\n  background-color: #ff0000;\n  border: 10px solid #ffffff;\n}\n```\n\n\u003c/td\u003e\n\u003ctd\u003e\n\n```css\n.one {\n  width: 200px;\n  height: 200px;\n  border-radius: 50%;\n  background-color: #ff0000;\n  border: 10px solid #ffffff;\n}\n```\n\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\n### transition\n\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd\u003e Input \u003c/td\u003e \u003ctd\u003e Output \u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\n\n```css\n.one {\n  @ghost transition(100ms, ease-in, color);\n}\n\n.two {\n  @ghost transition(100ms, ease-in, color, background-color, border-color);\n}\n```\n\n\u003c/td\u003e\n\u003ctd\u003e\n\n```css\n.one {\n  transition: 100ms ease-in color;\n}\n\n.two {\n  transition: 100ms ease-in color, 100ms ease-in background-color, 100ms ease-in border-color;\n}\n```\n\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\n## Experimental Rule List\n\nThe following rules may not work with not pure css ex) LESS, SASS.\n\n### all-buttons\n\n\u003ctable\u003e\n\u003ctr\u003e\n\u003ctd\u003e Input \u003c/td\u003e \u003ctd\u003e Output \u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\n\n```css\n@ghost all-buttons {\n  background-color: transparent;\n  border: none;\n  cursor: pointer;\n  outline: 0;\n}\n\n@ghost all-buttons(hover) {\n  transform: translateY(-2px);\n  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);\n}\n\n@ghost all-buttons(active) {\n  transform: none;\n  box-shadow: none;\n}\n\n@ghost all-buttons(focus) {\n  transform: translateY(-2px);\n  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);\n}\n```\n\u003c/td\u003e\n\u003ctd\u003e\n\n```css\nbutton, [type='button'], [type='reset'], [type='submit'] {\n  background-color: transparent;\n  border: none;\n  cursor: pointer;\n  outline: 0;\n}\n\nbutton:hover, [type='button']:hover, [type='reset']:hover, [type='submit']:hover {\n  transform: translateY(-2px);\n  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);\n}\n\nbutton:active, [type='button']:active, [type='reset']:active, [type='submit']:active {\n  transform: none;\n  box-shadow: none;\n}\n\nbutton:focus, [type='button']:focus, [type='reset']:focus, [type='submit']:focus {\n  transform: translateY(-2px);\n  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);\n}\n```\n\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisuke%2Fpostcss-ghost-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fisuke%2Fpostcss-ghost-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisuke%2Fpostcss-ghost-utils/lists"}