HTML & CSS · Middle · Question 68 of 75

Why is transition: all 0.3s considered a bad habit?

Explanation

List the properties explicitly (transition: transform 0.3s, opacity 0.3s). That keeps animations cheap and predictable.

Further reading

Problem with a question

HTML & CSS · Middle · question 68

Test yourself

Take the HTML & CSS · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz