Skip to content

Instantly share code, notes, and snippets.

@davidmz
Last active October 19, 2015 10:41
Show Gist options
  • Save davidmz/9c06693ade0b8a37dffe to your computer and use it in GitHub Desktop.
Save davidmz/9c06693ade0b8a37dffe to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="0 0 16 16" width="160" height="160">
<symbol id="snake">
<path d="M 1.5,10
l 6.5,0
a 2,2 0,0,0 2,-2
l 0,-6.5
a 1,1 0 0 1 3,0
l 0,6.5
a 5,5 0 0 1 -5,5
l -6.5,0
a 1,1 0 0 1 0,-3
z" />
</symbol>
<use xlink:href="#snake" fill="#d43e1b" x="0" y="0"/>
<use xlink:href="#snake" fill="#f9b616" x="-16" y="-16" transform="rotate(180)"/>
<rect fill="#d43e1b" x="2" y="10" width="5" height="3"/>
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment