animation not animating instead jumping to end

后端 未结 1 1959
滥情空心
滥情空心 2021-01-23 03:18

I am trying to use the SVG animate tag to change the path from a half fill to a complete fill

        

        
1条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-23 03:52

    For an animation to be smooth the path must have the same number and types of commands.

    Your first path has 3 commands M H v

    Your second path has 4 commands M H L L

    You'll need to write the first path using 2 L commands instead of the v or the second as a v instead of the two L commands.

    0 讨论(0)
提交回复
热议问题