Created
October 3, 2013 22:04
-
-
Save ceane/6817842 to your computer and use it in GitHub Desktop.
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
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="1000" height="300"> | |
<defs> | |
<filter id="blur"> | |
<feGaussianBlur stdDeviation="1" /> | |
</filter> | |
</defs> | |
<switch> | |
<foreignObject filter="url("#blur")" x="0" y="0" width="1000" height="300" requiredExtensions="http://www.w3.org/1999/xhtml"> | |
<body xmlns="http://www.w3.org/1999/xhtml"> | |
<p>This blurred text appears in browsers that support XHTML in foreignObject</p> | |
</body> | |
</foreignObject> | |
<text x="0" y="0" font-size="16" filter="url("#blur")" fill="black"> | |
<tspan x="16" y="16">This blurred text will appear in browsers that do not support XHTML in a foreignObject tag</tspan> | |
</text> | |
</switch> | |
</svg> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment