The <radialGradient> element is used to define a radial gradient.
The <radialGradient> element must be nested within a <defs> tag. The <defs> tag is short for definitions and contains definition of special elements (such as gradients).
Define an ellipse with a radial gradient from white to blue:
Here is the SVG code:
For Opera users: View the SVG file (right-click on the SVG graphic to view the source).
Code explanation:
Define another ellipse with a radial gradient from white to blue:
Here is the SVG code:
For Opera users: View the SVG file (right-click on the SVG graphic to view the source).
Your message has been sent to W3Schools.