├── README.md
└── encodeSVG
├── index.html
└── static
└── js
├── 0.0c7fa5ae4fa2b61a7955.js
├── app.424aab2a37e5a01a90b0.js
├── manifest.bbade950c50a523098f0.js
└── vendor.c74db87a068ae0aa1ecd.js
/README.md:
--------------------------------------------------------------------------------
1 |
2 | ## encodeSVG
3 | 通过将SVG图形编码,在css:background-image: url("data:image/svg+xml,encodeddSVG")或者border-image中使用SVG背景图片
4 |
5 | 此工具是学生时代写前端时候,将SVG图片encode为css background-image的小工具,后面域名已经莫得了,现在估计也没人在用这个工具了,留待以后整理
6 | @todo 迁移到gitee
7 |
8 | ~~线上工具地址【传送门】:[http://www.xiyoulive.com/encodeSVG](http://www.xiyoulive.com/encodeSVG)~~
9 |
10 | 用的方便还请给个star
11 | ```vue
12 |
13 | 通过将SVG图形编码,在css:background-image: url("data:image/svg+xml,encode")或者border-image中使用SVG背景图片SVG图形编码工具
15 | 作者:ulooper@aliyun.com
16 | 粘贴SVG代码,格式<svg>...code...</svg>
19 |
20 | 编码后的代码
23 |
24 | 输出css
27 |
28 | 预览
31 |
32 |