https://github.com/tofu-xx/style-plus
Enhance the style attribute to make CSS and HTML deeply integrated. 增强style属性,让css和html深度融合。
https://github.com/tofu-xx/style-plus
css inline-css inline-styles style
Last synced: about 1 month ago
JSON representation
Enhance the style attribute to make CSS and HTML deeply integrated. 增强style属性,让css和html深度融合。
- Host: GitHub
- URL: https://github.com/tofu-xx/style-plus
- Owner: Tofu-Xx
- License: mit
- Created: 2024-10-12T18:05:52.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-01T02:51:16.000Z (over 1 year ago)
- Last Synced: 2026-01-14T01:21:45.490Z (about 2 months ago)
- Topics: css, inline-css, inline-styles, style
- Language: TypeScript
- Homepage:
- Size: 2.14 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
style-plus
简体中文 | English
Enhanced style attribute, supporting [CSS nesting](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_nesting/Using_CSS_nesting) syntax
This means that you can write CSS selectors in inline styles
## Example
```html
- 1
- 2
- 3
```
## Usage
```html
```
**or**
```js
import 'https://unpkg.com/style-plus/dist/index.esm.js'
```