|
1 <?xml version="1.0"?> |
|
2 <svg xmlns="http://www.w3.org/2000/svg"> |
|
3 <g id="testContent" color="forestgreen"> |
|
4 <defs> |
|
5 <linearGradient id="linearGrad" gradientUnits="objectBoundingBox" y1="0" x1="0" y2="1" x2="1"> |
|
6 <stop offset="0%" stop-color="royalblue"/> |
|
7 <stop offset="33%" stop-color="white"/> |
|
8 <stop offset="50%" stop-color="darkblue"/> |
|
9 <stop offset="66%" stop-color="white"/> |
|
10 <stop offset="100%" stop-color="royalblue"/> |
|
11 </linearGradient> |
|
12 |
|
13 <radialGradient id="radialGrad" gradientUnits="objectBoundingBox" cx="0.5" cy="0.5" r="0.5" fx="0.15" fy="0.15"> |
|
14 <stop offset="000%" stop-color="orange" /> |
|
15 <stop offset="033%" stop-color="red" /> |
|
16 <stop offset="050%" stop-color="gold" /> |
|
17 <stop offset="066%" stop-color="red" /> |
|
18 <stop offset="100%" stop-color="orange" /> |
|
19 </radialGradient> |
|
20 </defs> |
|
21 |
|
22 <rect x="0" y="0" width="200" height="125" stroke="none" |
|
23 fill="url(#linearGrad)"/> |
|
24 <rect x="200" y="0" width="200" height="125" stroke="none" |
|
25 fill="currentColor"/> |
|
26 <rect x="0" y="125" width="200" height="125" stroke="none" |
|
27 fill="currentColor"/> |
|
28 <rect x="200" y="125" width="200" height="125" stroke="none" fill="url(#radialGrad)" /> |
|
29 </g> |
|
30 </svg> |