Skip to content

Instantly share code, notes, and snippets.

@james2doyle
Created May 7, 2014 21:04
Show Gist options
  • Save james2doyle/23820e813b951c46c8aa to your computer and use it in GitHub Desktop.
Save james2doyle/23820e813b951c46c8aa to your computer and use it in GitHub Desktop.
the most simple star svg element
Display the source blob
Display the rendered blob
Raw
<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<!-- Created with SVG-edit - http://svg-edit.googlecode.com/ -->
<g>
<title>star</title>
<path id="svg_2" d="m0,38l37,0l11,-38l11,38l37,0l-30,23l11,38l-30,-23l-30,23l11,-38l-30,-23l0,0z" stroke-linecap="null" stroke-linejoin="null" stroke-dasharray="null" stroke-width="0" fill="#000000"/>
</g>
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment