body {
    background-color: peachpuff;
    display:flex;
    align-items: center;
    justify-content: center;
    width:100%;
    height:100vh;
}

.progress {
    width:180px;
    height:25px;
    border-radius: 18px;
    color:#514b82;
    border:2px solid;
    position: relative;
  }
  .progress::before {
    content:"";
    position: absolute;
    margin:2px;
    inset:0 100% 0 0;
    border-radius: inherit;
    background:currentColor;
    animation:p 1.5s infinite;
  }
  @keyframes p {
      100% {inset:0}
  }