after reading tons of topics on the subject of animating svg I did not find an answer that works properly for my goal. Now I desperately need your help:
Elements inside my svg are scaled to 2.8 by click. After that I need them to be centered inside the viewbox. Scaling works fine, centering does not.
Do you have any suggestions?
See the Pen QKgaZd by sdstdt (@sdstdt) on CodePen