【发布时间】:2015-06-09 20:27:44
【问题描述】:
我希望这可以动画成透明背景。知道为什么它会变成黑色或如何修复它吗?
<svg>
<rect height="100" width="100">
<animate attributeName="fill" from="red" to="none" dur="3s" fill="freeze">
</rect>
</svg>
相关CodePen:http://codepen.io/corysimmons/pen/Byeoyw?editors=100
【问题讨论】:
-
感谢您的帮助。我想通了。
标签: svg jquery-animate svg-animate smil