SVG animation delay on each repetition

前端 未结 5 1756
暗喜
暗喜 2020-12-30 12:34

I\'d like to add a delay to each iteration of an SVG animation loop. Here\'s a simple example.

5条回答
  •  孤城傲影
    2020-12-30 13:13

    I think what you're looking for is the additive/accumulative attributes of the svg. This is an example that i got from css tricks

    svg {
      border: 3px solid #eee;
      display: block;
      margin: 1em auto;
    }
    
      
    
      
    

    In fact here is a better exaample (same source)

    svg {
      border: 3px solid #eee;
      display: block;
      margin: 1em auto;
    }
    
      
      
      
      
      
    

提交回复
热议问题