What is the primary purpose of using CSS transitions and animations in web development?
A). <div>To make elements static and unchanging.
B). <div>To add dynamic and interactive effects to elements.
C). <div>To hide elements from users.
D). <div>To reduce the size of HTML files.
What role does the animation-direction property play in CSS animations?
A). <div>It specifies the number of times the animation should repeat.
B). <div>It defines the starting and ending states of an animation.
C). <div>It controls the direction of the animation (forwards, backwards, etc.).
D). <div>It specifies the easing function for the animation.
How do CSS transitions differ from CSS animations?
A). <div>Transitions are more flexible and customizable than animations.
B). <div>Transitions allow for continuous looping effects.
C). <div>Transitions are used to define keyframes for animations.
D). <div>Transitions change property values smoothly over a specified duration.
How does using the transition-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 does the ease-in-out timing function in CSS transitions signify?
A). <div>A gradual acceleration followed by a gradual deceleration.
B). <div>A sudden start with a gradual acceleration.
C). <div>A gradual acceleration with no deceleration.
D). <div>A linear speed with no acceleration or deceleration.
What CSS property is used to specify the duration of a transition or animation effect?
A). <div>transition-duration
B). <div>animation-duration
C). <div>transition-timing-function
D). <div>animation-timing-function
How can CSS transitions improve user experience on a website?
A). <div>By making elements static and unchanging.
B). <div>By adding dynamic and interactive effects to elements.
C). <div>By increasing page loading times.
D). <div>By reducing visual appeal and engagement.
What is the purpose of using the infinite value for the animation-iteration-count property in CSS animations?
A). <div>To apply a single iteration of the animation effect.
B). <div>To apply multiple iterations of the animation effect.
C). <div>To apply an infinite number of iterations of the animation effect.
D). <div>To pause the animation indefinitely.
Which CSS property is used to specify the easing function for a transition or animation effect?
A). <div>transition-delay
B). <div>animation-duration
C). <div>transition-timing-function
D). <div>animation-timing-function
How can animations created using CSS properties enhance the visual appeal of a website?
A). <div>By making elements static and unchanging.
B). <div>By adding dynamic and interactive effects to elements.
C). <div>By reducing visual appeal and engagement.
D). <div>By increasing page loading times.