A transition smoothly animates a property from its old value to a new one over time, instead of changing it instantly. You declare what to animate and how long, then trigger it by changing the property (often via :hover or a class).
{
: blue;
: background ease;
}
{
: darkblue;
}
