I would only recommend using SVG sprite sheets if you enjoy spending hours trying to figure how to access your SVG and poor performance.   And a loop was never your problem. The reason you see an animation in your second demo is because you're searching the entire document for elements with a .green-sock class. var sock = document.querySelectorAll(".green-sock");   You see 2 animations, but there's only 1 element being animated, and it's not even visible. It's the path in y
    • Like
    4