{"id":23144274,"url":"https://github.com/tofu-xx/style-plus","last_synced_at":"2026-01-28T02:03:00.652Z","repository":{"id":257823850,"uuid":"871708756","full_name":"Tofu-Xx/style-plus","owner":"Tofu-Xx","description":"Enhance the style attribute to make CSS and HTML deeply integrated.   增强style属性，让css和html深度融合。","archived":false,"fork":false,"pushed_at":"2024-12-01T02:51:16.000Z","size":2246,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-14T01:21:45.490Z","etag":null,"topics":["css","inline-css","inline-styles","style"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/Tofu-Xx.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":"2024-10-12T18:05:52.000Z","updated_at":"2024-12-01T02:51:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"9bcaf139-7e73-4959-8d76-2fed769f01b9","html_url":"https://github.com/Tofu-Xx/style-plus","commit_stats":null,"previous_names":["tofu-xx/style-plus"],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/Tofu-Xx/style-plus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tofu-Xx%2Fstyle-plus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tofu-Xx%2Fstyle-plus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tofu-Xx%2Fstyle-plus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tofu-Xx%2Fstyle-plus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tofu-Xx","download_url":"https://codeload.github.com/Tofu-Xx/style-plus/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tofu-Xx%2Fstyle-plus/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28833382,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T23:29:49.665Z","status":"online","status_checked_at":"2026-01-28T02:00:06.943Z","response_time":57,"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","inline-css","inline-styles","style"],"created_at":"2024-12-17T15:15:39.464Z","updated_at":"2026-01-28T02:03:00.611Z","avatar_url":"https://github.com/Tofu-Xx.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=center\u003estyle-plus\u003c/h1\u003e\n\u003cp align=center\u003e\n  \u003ca href=\"./README.zh-CN.md\"\u003e简体中文\u003c/a\u003e | \u003cb\u003eEnglish\u003c/b\u003e\n\u003c/p\u003e\n\nEnhanced style attribute, supporting [CSS nesting](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_nesting/Using_CSS_nesting) syntax\nThis means that you can write CSS selectors in inline styles\n\n## Example\n```html\n\u003cul style=\"display: flex;li{flex: 1}\"\u003e\n  \u003cli\u003e1\u003c/li\u003e\n  \u003cli\u003e2\u003c/li\u003e\n  \u003cli\u003e3\u003c/li\u003e\n\u003c/ul\u003e\n```\n\n## Usage\n```html\n\u003cscript src=\"https://unpkg.com/style-plus\"\u003e\u003c/script\u003e\n```\n**or**\n```js\nimport 'https://unpkg.com/style-plus/dist/index.esm.js'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftofu-xx%2Fstyle-plus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftofu-xx%2Fstyle-plus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftofu-xx%2Fstyle-plus/lists"}