CSS Animation Flashcards
Create an animation with what special keyword
@keyframes animation-name { … }
Link to an animation called ‘slider’ from a style.
animation-name: slider;
Make the animation repeat indefinitely
animation-iteration-count: infinite;
Have the animation use easing.
animation-timing-function: ease-in; // ease-in-out etc.
Animation should start next iteration from end position (or start position)
animation-fill-mode: forwards; // backwards
Animation should reverse its motion for the next iteration (or keep it’s motion the same)
animation-direction: alternate; // normal or reverse
If animating the hand of a stopwatch, what animation property would you use and how?
animation-timing-function: steps(12, end);
Use the special steps() function.