Skip to content

Instantly share code, notes, and snippets.

@sbussard
Created June 23, 2016 13:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sbussard/2ab9163b864b434dcb8e4f382ce7dfce to your computer and use it in GitHub Desktop.
Save sbussard/2ab9163b864b434dcb8e4f382ce7dfce to your computer and use it in GitHub Desktop.
svg-filter-dropshadow-right.svg
Display the source blob
Display the rendered blob
Raw
<svg xmlns="http://www.w3.org/2000/svg">
<defs>
<filter id="svg-filter-dropshadow-right" width="200%" height="200%">
<feGaussianBlur in="SourceAlpha" stdDeviation="1.5"/>
<feOffset dx="0.05" dy="0.5" result="offsetblur"/>
<feComponentTransfer>
<feFuncA type="linear" slope="0.75"/>
</feComponentTransfer>
<feMerge>
<feMergeNode />
<feMergeNode in="SourceGraphic"/>
</feMerge>
</filter>
</defs>
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment