A
A
Andrey Reshetov2018-04-19 15:37:50
css
Andrey Reshetov, 2018-04-19 15:37:50

How to add animation to addClass?

Hello. I have a question when creating a calculator. How to animate addClass and removeClass? Through css does not work at all. For some reason it doesn't work through jquery ui either. Who can submit a decision? Preferably with an example) Thank you in advance)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
supertrolyaso, 2018-04-19
@Renzi0n

If you want that when adding / removing a class for which styles are written, these styles are applied / removed animatedly (smoothly), just set transition in css to this element.
If I misunderstood you, correct me, or reformulate the question.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question