Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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