Chapter 7: Images and Graphics
You can find a great introduction to SVG at the SVG Basics website: http://www.svgbasics.com/, and the W3C’s own SVG Primer is a useful way to dig deeper: http://www.w3.org/Graphics/SVG/IG/resources/svgprimer.html. MDN has a quite complete list of elements and attributes: https://developer.mozilla.org/en-US/docs/SVG/.
The technique for stacking SVG icons was developed by Erik Dahlström and is described on the blog of Simurai: http://simurai.com/post/20251013889/svg-stacks/. Mozilla’s Robert O’Callahan warns of the possible changes to the stacking technique: http://robert.ocallahan.org/2012/10/impending-doom-for-svg-stacks-sort-of.html. I detailed the svgView() method on my blog, Broken Links: http://www.broken-links.com/2012/08/14/better-svg-sprites-with-fragment-identifiers/ ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access