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

https://github.com/startpolymer/s-svg

A polymer element allowing SVG images to be responsive and styled with CSS.
https://github.com/startpolymer/s-svg

polymer svg

Last synced: about 1 year ago
JSON representation

A polymer element allowing SVG images to be responsive and styled with CSS.

Awesome Lists containing this project

README

          

# <s-svg>

A polymer element allowing SVG images to be responsive and styled with CSS.

## Using

Use optimized SVG. In Inkscape choose `Optimized SVG` file type upon `Save As` (Ctrl + Shift + S) and check `Enable viewboxing` in the Save As dialog.

```xml

...

```

```css
.container {
color: #fff;
height: 200px;
}

.logo {
fill: currentColor;
}
```

```html


```

## Install

`bower i s-svg -S`

## License

MIT: [StartPolymer/license](https://github.com/StartPolymer/license)