@keyframes dash {
from {
stroke-dashoffset: 290;
}
to {
stroke-dashoffset: 0;
}
}
svg.heartbeat{
width:200px;
height:120px;
}
.heartbeat .path {
stroke-dasharray: 290;
stroke-dashoffset: 130;
animation: dash 1.5s 0s forwards infinite;
stroke-width:7px;
stroke-linecap:round;
stroke-linejoin:round;
}
<div align="center"><svg class="heartbeat" width="200" height="160" xmlns="http://www.w3.org/2000/svg">
<path class="path" d="M10 70 L 70 70, 90 30, 110 90, 120 50, 130 70, 190 70" stroke="#F26B3B" fill="transparent"></path>
</svg></div>