XML technologies / SVG / Filters, transformations and gradients / Defining and assigning gradients

(Excerpt from “Das Einsteigerseminar SVG — Webgrafiken mit XML” by Helma Spona)

Even simple gradients can produce attractive effects. This is demonstrated by a simple example that creates the following button:

Button to create

Figure: Button to create.

This requires only two simple shapes, a circle and an ellipse, placed on top of each other and filled with different gradients. A shadow can further enhance the result.

   

   

 

 

 

back to top