Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

dur

« 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)
<clock-value>
Specifies the length of the simple duration. Value must be greater than 0. This value can be express within 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).

Example

Elements

The following elements can use the dur attribute

Document Tags and Contributors

 Contributors to this page: Jeremie, sebmozilla
 Last updated by: Jeremie,