html5回顾(三)

SVG 动画 SVG 动画可使用 <animate> 元素建立。canvas 实例浏览器 建立一个矩形,将在3秒内更改其位置,而后重复动画两次:svg <svg width="1000" height="250"> <rect width="150" height="150" fill="orange"> <animate attributeName="x" from="0" to="300"
相关文章
相关标签/搜索