![svg渐变效果 svg渐变效果](https://i-blog.csdnimg.cn/blog_migrate/a4c26d1e5885305701be709a3d33442f.gif)
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100%" height="100%" version="1.1"
xmlns="http://www.w3.org/2000/svg">
<g fill="dodgerblue" font-size="30" font-family="楷体">
</g>
<defs>
</defs>
<rect x="10" y="50" width="100" height="200" ry="20" fill="url(#colorGradient)"/>
<rect x="110" y="50" width="100" height="200" ry="20" fill="url(#alphaGradient)"/>
</svg>