Problem with animation timing with SVG

0

I'm trying to make an SVG animation using very simple CSS, where stars appear within themselves infinitely. The only problem is that after the first loop one of the paths starts to go over the others, which is not the goal. I tried to look and I can not find the error or solution. Follow her on Codepen: link

    
asked by anonymous 23.04.2017 / 23:23

1 answer

0

After some time testing, I realized that the layers in SVG work on the order of html , that is, one of them was always on top of the others, causing the original problem. To work around this, I used clip-path to keep SVG within size and I changed animation to popping the boundaries, creating the effect I wanted.

    
24.04.2017 / 19:30