Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SVG元素-2-ANIMATE标签 #11

Open
OndayX opened this issue Apr 26, 2021 · 0 comments
Open

SVG元素-2-ANIMATE标签 #11

OndayX opened this issue Apr 26, 2021 · 0 comments

Comments

@OndayX
Copy link
Owner

OndayX commented Apr 26, 2021

定义:
动画元素放在形状元素的内部,用来定义一个元素的某个属性如何踩着时点改变。在指定持续时间里,属性从开始值变成结束值。

相关属性:
attributeName
attributeType
from
to
dur
repeatCount

解读:
attributeName:解释移动的是父级元素的具体属性名
attributeType:解释移动的元素的所属类型(CSS、XML)
from:解释移动的元素的起始位置
to:解释移动的元素的结束位置
dur:解释移动的元素的持续时间
repeatCount:解释移动的元素的持续的次数(No.、indefinite)

参考:
https://developer.mozilla.org/zh-CN/docs/Web/SVG/Element/animate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant