CSStransities
CSStransities (commonly known in English as CSS transitions) are a styling feature that enables smooth interpolation between two property values over time when a property changes. Transitions are declared in CSS and activate when a property changes due to a different rule, pseudo-class (for example :hover), or script-driven modification.
Key properties include transition-property (which properties to animate), transition-duration (how long the animation lasts), transition-timing-function (the
Transitions differ from CSS animations in that they describe a change between two states and require a
Practical use favors animating transform and opacity for best performance because these are typically handled by