Transition
Transition
A setting that makes color or size change smoothly over a set time instead of snapping instantly.
💡 Instead of flicking a light on, it's like slowly turning up a dimmer switch.
👆 Try it yourself
It really works — click around and see.
CSStransition: all 300ms ease-out;
🤖 Say this to your AI
Give buttons and links a 0.2s Transition so their colors change smoothly when they change. Use ease-out for the motion.
The key word is ‘Transition’. Including it helps AI understand you much more precisely.
📌 Good to know
'ease-in-out' and 'ease-out' are speed curves for motion, called easing. ease-out, which starts fast and slows to a stop, feels the most natural.
When to use it
- Any moment something changes state, like hovering or opening a menu
Also called: smooth change, easing, ease, animation speed, fade between, gradually change