E
E
Evtera2020-08-24 14:10:36
css
Evtera, 2020-08-24 14:10:36

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

1 answer(s)
W
WapSter, 2020-08-24
@Evtera

Apply transition to right only

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question