20
我怎么可能下面SVG代码保存为图像的.svg如何将svg代码保存为.svg图像?
<svg width="100%" height="100%" version="1.1" xmlns="http://www.w3.org/2000/svg">
<defs>
<linearGradient id="fill" x1="0%" y1="0%" x2="0%" y2="100%">
<stop offset="0%" style="stop-color:rgb(224,224,224);stop-opacity:1"/>
<stop offset="100%" style="stop-color:rgb(153,153,153);stop-opacity:1"/>
</linearGradient>
</defs>
<path d="M 0 0 L 64 0 L 32 64 z" stroke="colourname" fill="url(#fill)"/>
</svg>
任何帮助,将不胜感激。谢谢。
只要把它放在一个文件中,你看到了什么问题? –
如果我把它放在一个文件中就没问题,但我想用它作为border-image属性,如下所示:img.frame {0} {0} {0} {0} {0} 92; } – necker
你可能想在你的问题中提到,如果这就是你真正想知道的。 –