Answer the question
In order to leave comments, you need to log in
How to prefix _active to several classes of elements at once when scrolling to a certain block?
Hello, it is necessary to animate six balls that diverge from the center when scrolling to a certain block, I put the animation in css in the prefix (_active) to each of their classes (class1_active, class2_active, etc.), tell me how to simultaneously transfer this prefix to six elements with different classes at once. There is a js code, can someone tell me to finish it?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question