Skip to content

Instantly share code, notes, and snippets.

@d9k
Created February 11, 2021 12:32
Show Gist options
  • Save d9k/23bba624043205341e64bf22cf727d60 to your computer and use it in GitHub Desktop.
Save d9k/23bba624043205341e64bf22cf727d60 to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
<svg height="150" width="400">
<defs>
<linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="0%">
<stop offset="0%" style="stop-color:rgb(255,255,0);stop-opacity:1" />
<stop offset="100%" style="stop-color:rgb(255,0,0);stop-opacity:1" />
</linearGradient>
</defs>
<ellipse cx="200" cy="70" rx="85" ry="55" fill="url(#grad1)" />
<text fill="#ffffff" font-size="45" font-family="Verdana" x="150" y="86">SVG</text>
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment