Test yourself under real exam conditions: 50 timed questions, 60 on the clock, pass mark 70%%. Instant score with a full review of everything you got wrong. Free — no account needed.
Exam details
To animate smoothly between two states of a property when it changes, interpolating intermediate values over time.
To animate an element through multiple keyframes over time, including loops and complex multi-step sequences, without needing state changes.
transition:
A longhand that names the CSS property (or "all") whose changes should be animated. Defaults to "all".
A longhand that sets how long the transition runs, in seconds (0.3s) or milliseconds. Default is 0s, meaning no transition.