{"id":22962810,"url":"https://github.com/thoughtbit/postcss-simple-reset","last_synced_at":"2025-04-02T03:29:15.294Z","repository":{"id":57328533,"uuid":"103493210","full_name":"thoughtbit/postcss-simple-reset","owner":"thoughtbit","description":":cyclone: PostCSS插件，全局样式的重置，以及单个元素的常用属性重置功能。","archived":false,"fork":false,"pushed_at":"2017-10-23T04:36:59.000Z","size":57,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-09T15:36:40.753Z","etag":null,"topics":["postcss","postcss-plugins"],"latest_commit_sha":null,"homepage":"","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/thoughtbit.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2017-09-14T06:13:25.000Z","updated_at":"2019-08-28T16:51:34.000Z","dependencies_parsed_at":"2022-09-21T01:50:47.094Z","dependency_job_id":null,"html_url":"https://github.com/thoughtbit/postcss-simple-reset","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thoughtbit%2Fpostcss-simple-reset","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thoughtbit%2Fpostcss-simple-reset/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thoughtbit%2Fpostcss-simple-reset/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thoughtbit%2Fpostcss-simple-reset/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thoughtbit","download_url":"https://codeload.github.com/thoughtbit/postcss-simple-reset/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246749759,"owners_count":20827589,"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":["postcss","postcss-plugins"],"created_at":"2024-12-14T19:18:23.420Z","updated_at":"2025-04-02T03:29:15.275Z","avatar_url":"https://github.com/thoughtbit.png","language":"CSS","readme":"# PostCSS Simple Reset\n\nPostCSS plugin to help you to reset your css via at-rules.\n\n## Syntax\n\n### reset-global\n\n*reset style is dependent on [normalize.css] and combined with best practice.*\n\n`@reset global([pc|mobile])`;\n\n\n### reset-nested\n`@reset nested([tabel|tabel-cell|list|font|boxModel])`;\n\n```css\n/* before */\n.table {\n  @reset nested('table');\n  color: #fff;\n}\n\ntd, th {\n  background-color: #fff;\n  @reset nested('table-cell');\n}\n\nul, ol {\n  @reset nested('list');\n}\n\n.regular-font {\n  @reset nested('font');\n}\n\n.box {\n  @reset nested('boxModel');\n}\n\n/* after */\n.table {\n  border-collapse: collapse;\n  border-spacing: 0;\n  vertical-align: middle;\n  color: #fff;\n}\n\ntd, th {\n  background-color: #fff;\n  text-align: left;\n  font-weight: normal;\n  vertical-align: middle;\n  margin: 0;\n  padding: 0;\n}\n\nul, ol {\n  list-style: none;\n  margin: 0;\n  padding: 0;\n}\n\n.regular-font {\n  font-family: inherit;\n  font-size: inherit;\n  font-weight: inherit;\n}\n\n.box {\n  margin: 0;\n  padding: 0;\n  width: auto;\n  height: auto;\n}\n```\n\n## 参考\n\n- https://github.com/baiyaaaaa/postcss-css-reset\n- https://github.com/ismamz/postcss-utilities\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthoughtbit%2Fpostcss-simple-reset","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthoughtbit%2Fpostcss-simple-reset","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthoughtbit%2Fpostcss-simple-reset/lists"}