SVG animation trouble

121 Views Asked by At

Task to animate the SVG icon:

<svg width = “10” height = “10” x = “124.23852130911843” y = “88.06430110098822” id = “Transporter_1” data-name = “Transporter 1” xmlns = “http://www.w3.org/2000/ svg ”viewBox =“ 0 0 70 70 ”...> </svg>

width, height, x, y - change their parameters on click, and I need to animate it.

problem: I can't get hooked on these parameters with either css or <animateTransform />. If the SVG is circle, it adds animations without problems, if the parameters are changed on SVG itself, the animation is not applied

0

There are 0 best solutions below