ji.svg<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
<g>
<defs>
<linearGradient x2="0%" y2="100%" id="sample">
<stop offset="20%" stop-color="gold" />
<stop offset="70%" stop-color="red" />
</linearGradient>
</defs>
<style type="text/css">
.f01{
stroke: gold;
stroke-width: 1;
fill:url(#sample);
}
.f02{
stroke: #ffffa0;
stroke-width: 0;
fill: #ffffa0;
}
</style>
<ellipse class="f01" cx="50" cy="50" rx="46" ry="46" />
<text class="f02" x="10" y="70" font-size="40">加油</text>
</g>
</svg>