How can developers optimize the performance of keyframe animations?
A). <div>By adding multiple simultaneous animations.
B). <div>By using heavy images and video backgrounds.
C). <div>By avoiding excessive animations and optimizing code.
D). <div>By removing all transitions from the website.
Which CSS property is used to specify the timing curve for the acceleration and deceleration of a keyframe animation?
A). <div>animation-duration
B). <div>animation-timing-function
C). <div>animation-iteration-count
D). <div>animation-direction
What does the animation-direction property in CSS keyframe animations determine?
A). <div>The total duration of the animation.
B). <div>The starting and ending states of the animation.
C). <div>The direction of the animation (forwards, backwards, etc.).
D). <div>The easing function for the animation.
How does specifying the easing function impact the appearance of a keyframe animation?
A). <div>It controls the direction of the animation.
B). <div>It defines the starting and ending states of the animation.
C). <div>It changes the duration of the animation.
D). <div>It controls the acceleration/deceleration of the animation.
What CSS rule is used to define keyframe animations?
A). <div>@keyframes
B). <div>@animation
C). <div>@transition
D). <div>@transform
How does the animation-fill-mode property impact the appearance of elements before and after a keyframe animation?
A). <div>It defines the starting and ending states of the animation.
B). <div>It specifies the number of times the animation should repeat.
C). <div>It controls the direction of the animation.
D). <div>It defines how the element's styles should be applied before and after the animation.
How does using the animation-timing-function property impact the appearance of CSS transitions?
A). <div>It changes the duration of the transition effect.
B). <div>It specifies the number of times the transition should repeat.
C). <div>It controls the acceleration/deceleration of the transition.
D). <div>It defines the direction of the transition effect.
What is the role of the animation-play-state property in controlling keyframe animations?
A). <div>It defines the timing curve for the animation's acceleration/deceleration.
B). <div>It specifies whether the animation should be paused or running.
C). <div>It controls the direction of the animation.
D). <div>It defines how the element's styles should be applied before and after the animation.
What is the role of the animation-name property in CSS keyframe animations?
A). <div>It specifies the duration of the animation.
B). <div>It defines the starting and ending states of the animation.
C). <div>It controls the direction of the animation.
D). <div>It specifies the name of the keyframes to use for the animation.
What do keyframes specify in a keyframe animation?
A). <div>The total duration of the animation.
B). <div>The starting and ending states of the animation.
C). <div>The easing function for the animation.
D). <div>The style changes at different points of the animation.