Created
November 27, 2014 01:04
-
-
Save edsykes/a422ec420558879a2f42 to your computer and use it in GitHub Desktop.
better shadow when you have alpha in source image
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<filter x="-70%" y="-50%" id="drop-shadow" height="250%" width="380%"> | |
><feComponentTransfer xmlns="http://www.w3.org/2000/svg"> | |
<feFuncA type="linear" slope="10.7"></feFuncA><feFuncR type="linear" slope="-10"></feFuncR> | |
<feFuncG type="linear" slope="0"> | |
</feFuncG> | |
<feFuncB type="linear" slope="0"></feFuncB> | |
</feComponentTransfer> | |
<feGaussianBlur stdDeviation="15"></feGaussianBlur> | |
<feMerge> | |
<feMergeNode></feMergeNode> | |
<feMergeNode in="SourceGraphic"></feMergeNode></feMerge></filter> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment