是的你可以!刚刚测试过,效果很好,太棒了!它仍然不能与html一起使用,但可以与svg一起使用。
在我的index.html中,我有:
<div id="test" ></div>
我的test.svg看起来像这样:
<svg xmlns="http://www.w3.org/2000/svg"> <circle cx="100" cy="50" r="40" stroke="black" stroke-width="2" fill="red"/> <polyline points="20,20 40,25 60,40 80,120 120,140 200,180" /></svg>



