- Home
- /
- Tutorials
- /
- CSS Tutorial
- /
- CSS Transitions
CSS Animations & Transitions
CSS Transitions
The CSS Transition property allows you to create smooth animations between property changes.
Without transitions, style changes happen instantly. With transitions, changes occur gradually over a specified duration, creating a more polished user experience. The supporting concepts are explained in Entry & Exit Transitions and CSS Animations.
Transitions are commonly used for:
- Button hover effects
- Menu interactions
- Image effects
- Card animations
- Modern UI components
Syntax
Transition Syntax
css
selector {
transition: property duration timing-function delay;
}