{"id":18453955,"url":"https://github.com/nickbasile/tailwind-percentage-heights-plugin","last_synced_at":"2025-04-08T03:35:36.674Z","repository":{"id":65412302,"uuid":"126086115","full_name":"nickbasile/tailwind-percentage-heights-plugin","owner":"nickbasile","description":"A plugin for Tailwind CSS that adds percentage heights","archived":false,"fork":false,"pushed_at":"2018-03-20T22:43:26.000Z","size":9,"stargazers_count":20,"open_issues_count":1,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-19T21:18:17.903Z","etag":null,"topics":["css","tailwind","tailwindcss"],"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/nickbasile.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":"2018-03-20T21:42:01.000Z","updated_at":"2023-02-10T09:22:37.000Z","dependencies_parsed_at":"2023-01-22T07:45:15.678Z","dependency_job_id":null,"html_url":"https://github.com/nickbasile/tailwind-percentage-heights-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickbasile%2Ftailwind-percentage-heights-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickbasile%2Ftailwind-percentage-heights-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickbasile%2Ftailwind-percentage-heights-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickbasile%2Ftailwind-percentage-heights-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nickbasile","download_url":"https://codeload.github.com/nickbasile/tailwind-percentage-heights-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247773275,"owners_count":20993629,"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":["css","tailwind","tailwindcss"],"created_at":"2024-11-06T08:02:21.993Z","updated_at":"2025-04-08T03:35:36.435Z","avatar_url":"https://github.com/nickbasile.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tailwind-percentage-heights-plugin\nA plugin for Tailwind CSS that adds percentage heights\n\nAdds the following classes to your Tailwind project:\n\n| Class    | Property           |\n| :------- | :----------------- |\n| .h-1/2   | height: 50%;       |\n| .h-1/3   | height: 33.33333%; |\n| .h-2/3   | height: 66.66667%; |\n| .h-1/4   | height: 25%;       |\n| .h-3/4   | height: 75%;       |\n| .h-1/5   | height: 20%;       |\n| .h-2/5   | height: 40%;       |\n| .h-3/5   | height: 60%;       |\n| .h-1/6   | height: 16.66667%; |\n| .h-5/6   | height: 83.33333%; |\n| .h-1/10  | height: 10%;       |\n| .h-3/10  | height: 30%;       |\n| .h-7/10  | height: 70%;       |\n| .h-9/10  | height: 90%;       |\n\n## Installation\n\nYou can add this to your project via NPM by running:\n\n`npm i tailwind-percentage-heights-plugin`\n\n## How to Use\n\nIn your Tailwind config file (typically: `tailwind.js`), you can require this package in the `plugins` Array, like so:\n\n```\nplugins: [\n    require('\u003cpath-to-package\u003e/tailwind-percentage-heights-plugin')(),\n]\n``` \n\nThen if you re-run your build suite, you can start using the classes listed above.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickbasile%2Ftailwind-percentage-heights-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnickbasile%2Ftailwind-percentage-heights-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickbasile%2Ftailwind-percentage-heights-plugin/lists"}