mirror of
https://github.com/SamHerbert/SVG-Loaders.git
synced 2026-01-25 04:46:14 +00:00
9126a055241d340db554210cfd2a109e3f39a0df
version property from bower.json
Per bower/bower.json-spec@a325da3 Also their maintainer says they probably won't ever use it: http://stackoverflow.com/questions/24844901/bowers-bower-json-file-version-property
Example
All loaders may be previewed at:
http://samherbert.net/svg-loaders
Usage
Download or bower install svg-loaders
<img src="svg-loaders/puff.svg" />
An icon's color can be manipulated by changing the fill attribute in the SVG file.
<svg fill="#fff" width="140" height="64" viewBox="0 0 140 64" xmlns="http://www.w3.org/2000/svg">
Note: Not all browsers support SVG, or more specifically, animated SVGs. Check (http://caniuse.com/#feat=svg-smil) to make sure you're good to go. If not, you may want to implement a fallback.
Minify
All SVG files are fairly small in size, but you can make them even smaller by minifying with something like SVGO.
Description
Languages
HTML
100%