animation
The animation shorthand CSS property applies an animation between styles. It is a shorthand for animation-name
, animation-duration
, animation-timing-function
, animation-delay
, animation-iteration-count
, animation-direction
, animation-fill-mode
, and animation-play-state
.
transition
The transition CSS property is a shorthand property for transition-property
, transition-duration
, transition-timing-function
, and transition-delay
.
@keyframes
The @keyframes CSS at-rule controls the intermediate steps in a CSS animation sequence by defining styles for keyframes (or waypoints) along the animation sequence. This gives more control over the intermediate steps of the animation sequence than transitions.
1 | @keyframes slidein { |
transformation
The transform CSS property lets you rotate
, scale
, skew
, or translate
an element. It modifies the coordinate space of the CSS visual formatting model.
1 | /* Keyword values */ |