Answer the question
In order to leave comments, you need to log in
How or in what to assign classes to a complex svg image for animation?
The web project (test) has a complex svg picture, many layers and elements. Some of the elements in the svg are supposed to move, disappear, appear as the test progresses. Is there a way to somehow conveniently assign classes to elements, maybe some kind of editor.
Thank you!
Answer the question
In order to leave comments, you need to log in
The best way is:
1. First open the SVG with some vector editor (eg illustrator or figma). Group the layers in the order in which they will be animated.
2. After throwing a thread somewhere on the codepen or open it with a notepad and write classes in the necessary places.
In codepen it will be more convenient because if you remove the line, you will immediately see what is missing from the picture.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question