Skip to content

Instantly share code, notes, and snippets.

Created March 7, 2012 16:59
Show Gist options
  • Save anonymous/1994389 to your computer and use it in GitHub Desktop.
Save anonymous/1994389 to your computer and use it in GitHub Desktop.
SVG sample with dropshadow
<svg>
<defs>
<filter id="dropshadow" height="130%">
<feGaussianBlur in="SourceAlpha" stdDeviation="3"/>
<feOffset dx="2" dy="2" result="offsetblur"/>
<feMerge>
<feMergeNode/>
<feMergeNode in="SourceGraphic"/>
</feMerge>
</filter>
</defs>
<polygon points="58.263,0.056 100,41.85 58.263,83.641 30.662,83.641 62.438,51.866 0,51.866 0,31.611 62.213,31.611 30.605,0 58.263,0.056" fill="#EEEEEE" filter="url(#dropshadow)"/>
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment