Skip to content

42pe/svg-stacks-guide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

svg-stacks-guide - (My) (Somewhat) Definitive Guide to SVG Stacks

  1. Clone the repo
  2. run npm install && gulp && npm start
  3. Go to localhost:3000 on your browser.

How it works

  1. Place SVGs in src/svgs. Illustrator outputs, Noun Project downloads, anything.
  2. Run gulp, to merge all the SVGs into a single stack.
  3. You can use the SVG sprite in 2 ways: As a CSS background image or by using and xlink in an <SVG> tag (which can be styles via CSS). Review the index.html file for reference.

About

(My) (Somewhat) Definitive Guide to SVG Stacks

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors