Answer the question
In order to leave comments, you need to log in
Why not put a transition on all elements?
* {
transition: .5s all;
}
Answer the question
In order to leave comments, you need to log in
1. The browser will have to process all the properties of the elements.
2. Animation in js will not work well.
In general, it's best to hang transition on specific properties (color, etc.), and not specify all
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question