Answer the question
In order to leave comments, you need to log in
How can I remove the tansition property after the first function is completed, so that the next one will already work without it?
hello. There are two functions.
The first function adds a class with a change to right. The second function changes the opacity on scroll.
I need the first function with a right change to be with transition, and the second one without.
How can this be implemented? I see something like this, but something doesn’t work in practice
1. add a class with right
2. Delete transition
3. Change opacity
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