Upgrade to Pro — share decks privately, control downloads, hide ads and more …

What I Learned About SVG

What I Learned About SVG

Rachel Ober

February 21, 2014
Tweet

More Decks by Rachel Ober

Other Decks in Programming

Transcript

  1. Tips Tricks Gotchas • CSS can only be used on

    an inline SVG, not an SVG embedded as an <img> • There’s a new Rails Helper for that! • Need to make sure it has a view port size • Add a class for each path/shape • Preferably add an id for the main SVG