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/ ...

Get The Modern Web now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.