Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zswang/svgbackground
Some simple SVG background generation tools.
https://github.com/zswang/svgbackground
background patterns svg
Last synced: about 1 month ago
JSON representation
Some simple SVG background generation tools.
- Host: GitHub
- URL: https://github.com/zswang/svgbackground
- Owner: zswang
- Created: 2016-07-19T12:38:08.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-08T14:20:47.000Z (over 7 years ago)
- Last Synced: 2024-08-09T17:37:53.316Z (3 months ago)
- Topics: background, patterns, svg
- Language: JavaScript
- Size: 18.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Svg Background
-------# [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coverage-image]][coverage-url]
## 生成效果
![image](https://cloud.githubusercontent.com/assets/536587/17054092/d76f883e-5037-11e6-8341-d885ab9edf38.png)
![image](https://cloud.githubusercontent.com/assets/536587/17054108/e131a546-5037-11e6-8312-064f84381896.png)
![image](https://cloud.githubusercontent.com/assets/536587/17054111/e8ff8b26-5037-11e6-9682-f6a9c9e89f70.png)
## 安装
```bash
$npm install svgbackground
```or
```bash
$bower install svgbackground
```## 使用
```js
svgbackground.rhombusBackgrounds('div');
```## License
MIT © [zswang](http://weibo.com/zswang)
[npm-url]: https://npmjs.org/package/svgbackground
[npm-image]: https://badge.fury.io/js/svgbackground.svg
[travis-url]: https://travis-ci.org/zswang/svgbackground
[travis-image]: https://travis-ci.org/zswang/svgbackground.svg?branch=master
[coverage-url]: https://coveralls.io/github/zswang/svgbackground?branch=master
[coverage-image]: https://coveralls.io/repos/zswang/svgbackground/badge.svg?branch=master&service=github