html - SVG animation diagramm - Stack Overflow

I wanted to animate a graphic. It should be like an diagramm loader. I dont know what i need to type in

I wanted to animate a graphic. It should be like an diagramm loader. I dont know what i need to type in so it starts where the diagramm starts and not before.

I once made a diagramm loader so i decided to pretty much use the same code. Here is the code for the diagramm loader:

<div class="loader loader--style4" title="3">
  <svg version="1.1" id="Layer_1" xmlns="" xmlns:xlink="" x="0px" y="0px"
     width="24px" height="24px" viewBox="0 0 24 24" style="enable-background:new 0 0 50 50;" xml:space="preserve">
    
   
    <rect x="0" y="5" width="5" height="40" fill="#333">
      <animateTransform  attributeType="xml"
        attributeName="transform" type="scale"
        values="1,1; 1,3; 1,1"
        begin="0s" dur="1s" repeatCount="indefinite" />       
    </rect>

    <rect x="10" y="5" width="5" height="40" fill="#333">
      <animateTransform  attributeType="xml"
        attributeName="transform" type="scale"
        values="1,1; 1,3; 1,1"
        begin="0.2s" dur="1s" repeatCount="indefinite" />       
    </rect>
    <rect x="20" y="5" width="5" height="40" fill="#333">
      <animateTransform  attributeType="xml"
        attributeName="transform" type="scale"
        values="1,1; 1,3; 1,1"
        begin="0.4s" dur="1s" repeatCount="indefinite" />       
    </rect>
  </svg>
</div>

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745618818a4636395.html

相关推荐

  • html - SVG animation diagramm - Stack Overflow

    I wanted to animate a graphic. It should be like an diagramm loader. I dont know what i need to type in

    9小时前
    50

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信