While transitions animate between two states, @keyframes animations define a multi-step sequence that can run automatically, loop, and move through many intermediate states.
Defining and applying an animation
slide-in {
{ : (-); : ; }
{ : (); : ; }
}
{
: slide-in ease-out;
}
