• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" standalone="no"?>
2<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG April 1999//EN" "http://www.w3.org/Graphics/SVG/svg-19990412.dtd">
3<svg width="4in" height="3in">
4  <desc>Gradients apply to leaf nodes
5  </desc>
6  <g>
7    <defs>
8      <lineargradient id="MyGradient">
9        <gradientstop offset="0%" color="#F60"/>
10        <gradientstop offset="70%" color="#FF6"/>
11      </lineargradient>
12    </defs>
13    <g style="fill: url(#MyGradient)">
14      <rect width="20" height="15.8"/>
15      <rect width="35" height="8"/>
16    </g>
17  </g>
18</svg>
19