svg双重动画的方法
<p>
<svg>
<g>
<rect id="Rectangle-1" fill="#3C81C1" sketch:type="MSShapeGroup" x="0" y="0" width="100" height="125">
<animatetransform attributename="transform" type="scale" from="1 1" to="3 1.25" begin="0s" dur="2s" repeatcount="0"></animatetransform>
</rect>
<animatetransform attributename="transform" type="translate" from="0 0" to="150 20" begin="0s" dur="2s" repeatcount="0"></animatetransform>
</g>
</svg>
</p>
标签内只能加1个动画 所以 外面加个g标签。。又可以再加个动画
ps:圆形锚点在中心 其他都是左上角
原文:https://www.cnblogs.com/newmiracle/p/14473687.html