{"id":16484474,"url":"https://github.com/winston0410/tailwindcss-absolute-centering","last_synced_at":"2026-04-08T21:32:07.467Z","repository":{"id":56478951,"uuid":"310173586","full_name":"winston0410/tailwindcss-absolute-centering","owner":"winston0410","description":"A Tailwindcss plugin to help you center elements with position: relative and position:absolute easily.","archived":false,"fork":false,"pushed_at":"2020-11-09T02:56:37.000Z","size":70,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-09T17:53:50.057Z","etag":null,"topics":["postcss","tailwindcss","tailwindcss-plugin"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/winston0410.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":"2020-11-05T02:50:08.000Z","updated_at":"2020-11-09T02:10:11.000Z","dependencies_parsed_at":"2022-08-15T19:31:13.624Z","dependency_job_id":null,"html_url":"https://github.com/winston0410/tailwindcss-absolute-centering","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/winston0410/tailwindcss-absolute-centering","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winston0410%2Ftailwindcss-absolute-centering","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winston0410%2Ftailwindcss-absolute-centering/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winston0410%2Ftailwindcss-absolute-centering/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winston0410%2Ftailwindcss-absolute-centering/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/winston0410","download_url":"https://codeload.github.com/winston0410/tailwindcss-absolute-centering/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winston0410%2Ftailwindcss-absolute-centering/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31575502,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["postcss","tailwindcss","tailwindcss-plugin"],"created_at":"2024-10-11T13:17:14.803Z","updated_at":"2026-04-08T21:32:07.451Z","avatar_url":"https://github.com/winston0410.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tailwindcss Absolute Centering\n\n[![Maintainability](https://api.codeclimate.com/v1/badges/040556484eb39232b27e/maintainability)](https://codeclimate.com/github/winston0410/tailwindcss-absolute-centering/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/040556484eb39232b27e/test_coverage)](https://codeclimate.com/github/winston0410/tailwindcss-absolute-centering/test_coverage) [![Known Vulnerabilities](https://snyk.io/test/github/winston0410/tailwindcss-absolute-centering/badge.svg?targetFile=package.json)](https://snyk.io/test/github/winston0410/tailwindcss-absolute-centering?targetFile=package.json) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/47527772461148aa9c29b054d93cfdb2)](https://www.codacy.com/gh/winston0410/tailwindcss-absolute-centering/dashboard?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=winston0410/tailwindcss-absolute-centering\u0026utm_campaign=Badge_Grade)\n\nA Tailwindcss plugin to help you center elements with `position: relative` and `position:absolute` easily.\n\n## Installation\n\n```\nnpm i tailwindcss-absolute-centering\n```\n\n```\nyarn add tailwindcss-absolute-centering\n```\n\nThen require it in `tailwind.config.js`\n\n```javascript\n//tailwindcss.config.js\n//Other config...\nplugins: [\n  require('tailwindcss-absolute-centering')\n  ]\n}\n```\n\n## Class included\n\n```css\n.absolute-vertical-center{\n  top: '50%';\n  transform: 'translateY(-50%)';\n}\n\n'.absolute-horizontal-center': {\n  left: '50%';\n  transform: 'translateX(-50%)';\n}\n\n.top-50%{\n  top: 50%\n}\n\n.left-50%{\n  left: 50%;\n}\n\n.bottom-50%{\n  bottom: 50%;\n}\n\n.right-50%{\n  right: 50%;\n}\n\n.translate-x-50%{\n  transform: translateX(50%);\n}\n\n.translate-y-50%{\n  transform: translateY(50%); \n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwinston0410%2Ftailwindcss-absolute-centering","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwinston0410%2Ftailwindcss-absolute-centering","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwinston0410%2Ftailwindcss-absolute-centering/lists"}