Created
May 20, 2015 10:13
-
-
Save gabor-farkas/55d44b6aa1f58bfaa4a1 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 xmlns="http://www.w3.org/2000/svg" | |
xmlns:xlink="http://www.w3.org/1999/xlink" | |
width="256" height="256"> | |
<defs> | |
<filter id="filter_ok"> | |
<feColorMatrix type="matrix" values="0 0 0 0 1 | |
0 0 0 0 0 | |
0 0 0 0 0 | |
-1 0 0 1 0"></feColorMatrix> | |
</filter> | |
<filter id="filter_wrong"> | |
<feColorMatrix type="matrix" values=" 0 0 0 0 1 | |
0 0 0 0 0 | |
0 0 0 0 0 | |
-1 0 0 1 0"></feColorMatrix> | |
</filter> | |
</defs> | |
<text filter="url(#filter_ok)" x="10" y="20">This is filtered to be red</text> | |
<text filter="url(#filter_wrong)" x="10" y="50">This is not visible on iOS safari</text> | |
</svg> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment