https://github.com/shaobeichen/cssoo
🧩 输入参数生成CSS代码片段,包括 优惠券、三角形、单行省略、多行省略等
https://github.com/shaobeichen/cssoo
bin cli css cssoo node shaoo snipaste
Last synced: 12 months ago
JSON representation
🧩 输入参数生成CSS代码片段,包括 优惠券、三角形、单行省略、多行省略等
- Host: GitHub
- URL: https://github.com/shaobeichen/cssoo
- Owner: shaobeichen
- Created: 2023-11-01T05:49:55.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-28T07:31:35.000Z (over 1 year ago)
- Last Synced: 2025-06-20T17:48:22.902Z (12 months ago)
- Topics: bin, cli, css, cssoo, node, shaoo, snipaste
- Language: JavaScript
- Homepage:
- Size: 200 KB
- Stars: 10
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cssoo
> 根据输入的参数生成常用的 CSS 代码片段,包括 优惠券、三角形、单行省略、多行省略等
## 预览

## 使用
```shell
npx @shaoo/cssoo
```
## 注意
如果 cssoo 升级了版本,但使用 npx 命令安装的版本还是旧版本,需要先清除 npx 缓存
```shell
npx clear-npx-cache
```
## 已支持片段
- 优惠券
- 三角形
- 单行溢出省略号
- 多行溢出省略号
- 修改滚动条样式
## 待支持片段
- 0.5px 边框 上下 左右 全部