Creates smooth animation when property changes.
transition: all 1s ease;
Controls animation timing.
transition-duration: 1s;
Delay before animation starts.
transition: 1s;
transition-delay: 1s;
Rotate, scale, move or skew elements.
transform: rotate(15deg) scale(1.2);
Runs keyframe-based animation.
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.2); }
100% { transform: scale(1); }
}
animation: pulse 2s infinite;
How long animation takes.
animation-duration: 3s;
How many times animation repeats.
animation-iteration-count: 1;