We're looking for a user researcher to understand the needs of developers and designers. Is this you or someone you know? Check out the post: https://mzl.la/2IGzdXS

我們的志工尚未將本文翻譯為 正體中文 (繁體) 版本。加入我們,幫忙翻譯!
您也可以閱讀本文的 English (US) 版本。

« SVG Attribute reference home

This attribute indicates the simple duration of the animation. 

Usage context

Categories Animation timing attribute
Value <clock-value> | indefinite
Animatable No
Normative document SVG 1.1 (2nd Edition)
Specifies the length of the simple duration. Value must be greater than 0. This value can be expressed with hours (h), minutes (m), seconds (s) or milliseconds (ms). It's possible to combine those time representation to provide some complex durations like this: hh:mm:ss.iii or like this: mm:ss.iii

If the animation does not have a dur attribute, the simple duration is indefinite. Note that interpolation will not work if the simple duration is indefinite (although this may still be useful for <set> elements).



The following elements can use the dur attribute


此頁面的貢獻者: ___, Jeremie, sebmozilla
最近更新: ___,