To create an animation sequence containing keyframes that indicate the start and end states of an animation, we’ll need to use what?
@keyframes
Y/N: Is the animation name optional in a keyframe rule?
No
Y/N: Are we able to use transform functions in keyframe rules?
Yes
What is one of the benefits of using percentages for keyframe selectors instead of the keywords “from” and “to”?
Using the keyframe keyword “from” is the same as using _____.
0%
Using the keyframe keyword “to” is the same as using:
100%
Using the prefix for WebKit-based browsers, create a property that will bind the keyframe sequence “slide” to the .prog-bar selector.
.prog-bar {
-webkit-animation-name: slide;
}
Using the prefix for WebKit-based browsers, add a new property that will give an animation a duration of 2 seconds.
-webkit-animation-duration: 2s;
Using the prefix for WebKit-based browsers, add a timing function property that will give an animation a linear motion.
-webkit-animation-timing-function: linear;
Using the prefix for WebKit-based browsers, bind the rock-boat animation to the .boat selector. Give it a 3 second duration and set it to repeat infinitely.
.boat {
-webkit-animation-name: rock-boat;
-webkit-animation-duration: 3s;
-webkit-animation-iteration-count: infinite;
}Using the prefix for WebKit-based browsers, bind the steam animation to the .steam selector. Give it a 4 second duration, a 2 second delay, and set it to repeat infinitely.
.steam {
-webkit-animation-name: steam;
-webkit-animation-duration: 4s;
-webkit-animation-delay: 2s;
-webkit-animation-iteration-count: infinite;
}Using the prefix for WebKit-based browsers, bind the bg-move animation to the body selector. Give it an 8 second duration, then set it so that the final keyframe continues to apply after the animation sequence has completed.
body {
-webkit-animation: bg-move 8s;
-webkit-animation-fill-mode: forwards;
}
Using the prefix for WebKit-based browsers, bind the mike-float animation to the .mike selector. Give it a 3 second duration and set it to repeat infinitely.
.mike {
-webkit-animation: mike-float 3s infinite;
}
Animation shorthand
name, duration, timing-function, delay, iteration-count, fill-mode