<svg viewBox="0 0 3 0.5" width="200">
  <path d="M0.1 0.25 2.8,0.25 M2.6,0.1 2.9,0.25 2.9,0.4" 
        fill="none" stroke="#000" stroke-width="0.03">
          <animate attributeName="d"
                   dur="1s"
                   begin="0s"
                   values="M0.1 0.25 0.8,0.25 
                           M0.6,0.1 0.8,0.25 0.6,0.4;
                           
                           M0.1 0.25 2.8,0.25 
                           M2.6,0.1 2.8,0.25 2.6,0.4"
                   fill="freeze"/>
        </path>
</svg>

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.