Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
SVG Gradient
<svg id="svggradientellipse" height="200" version="1.1">
<defs>
<linearGradient id="grad1" x1="0%" y1="0%" x2="0%" y2="100%">
<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)" />
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment