Answer the question
In order to leave comments, you need to log in
Shortening the SVG path through JS - how to do it?
There is some path in the form of an arc
<path d="M13.7243948,73.2793765 C86.8424111,24.4264588 173.865999,1.73468666e-15 274.795158,0 C375.724318,0 462.747906,24.4264588 535.865922,73.2793765" id="active-path" stroke="url(#linearGradient-1)" stroke-width="2" stroke-linecap="square"></path>
Answer the question
In order to leave comments, you need to log in
#active-path {
stroke-dasharray: 58% 200%;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question