How to:
-
Set the value for
stroke-dasharray
(length of the dashes) minimum as high as the circumference of the element
-
Set the same value for the
stroke-dashoffset
-
Set the target value of the
stroke-dashoffset
to 0 for the animation
-
Delay the fill transition until the
stroke-dashoffset
transition has been completed
Hover play icon for an animation