Multiple <stop> Elements

NOTE

SVG allows you to add as many <stop> elements as you want to a <linearGradient> or <radialGradient> element. In addition, you can set the stop-opacity properties for each <stop> element independently, thus giving a huge range of potential visual appearances.

Get Designing SVG Web Graphics now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.