Created
October 16, 2018 19:42
-
-
Save platan/eb6eef2e665abdb490df952916f60eb3 to your computer and use it in GitHub Desktop.
SVG in SVG
This file contains hidden or 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="83" height="20"> | |
<linearGradient id="b" x2="0" y2="100%"> | |
<stop offset="0" stop-color="#bbb" stop-opacity=".1"/> | |
<stop offset="1" stop-opacity=".1"/> | |
</linearGradient> | |
<clipPath id="a"> | |
<rect width="83" height="20" rx="3" fill="#fff"/> | |
</clipPath> | |
<g clip-path="url(#a)"> | |
<path fill="#555" d="M0 0h40v20H0z"/> | |
<path fill="#007ec6" d="M40 0h43v20H40z"/> | |
<path fill="url(#b)" d="M0 0h83v20H0z"/> | |
</g> | |
<g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="110"> | |
<image x="5" y="3" width="14" height="14" xlink:href="https://upload.wikimedia.org/wikipedia/zh/9/99/Tencent_QQ.svg"/> | |
<text x="295" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="130">qq</text> | |
<text x="295" y="140" transform="scale(.1)" textLength="130">qq</text> | |
<text x="605" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="330">group</text> | |
<text x="605" y="140" transform="scale(.1)" textLength="330">group</text> | |
</g> | |
</svg> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment