Sep 2, 2024
transition-property
: Defines which property to apply the transition to (e.g., transform).transition-duration
: Sets the duration (e.g., 0.3 seconds).transition-timing-function
: Defines the acceleration curve (e.g., ease, linear).transition-delay
: Sets delay before the transition starts (e.g., 0 seconds).transition: transform 0.3s ease;
).all
keyword if multiple properties share the same transition settings.@keyframes animationName { from { styles } to { styles }}
.animation-name
: Refers to the keyframes.animation-duration
: Time for the animation to complete (e.g., 1 second).animation-timing-function
, animation-delay
, animation-iteration-count
, animation-direction
, animation-fill-mode
.animation: slide-in-left 1s ease-in both;
).transform-origin
to change the pivot point of animations (e.g., rotating from corners).