Which of the following CSS properties is commonly used to create a smooth hover effect on a button?
A). <div>transition-property
B). <div>animation-name
C). <div>transition-duration
D). <div>animation-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 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 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 animations be used to create a loading spinner effect?
A). <div>By applying static styles to elements.
B). <div>By using keyframes to define a rotating animation.
C). <div>By hiding elements from users.
D). <div>By removing all styling from elements.
What is the purpose of using keyframes in CSS animations?
A). <div>To define the starting and ending states of an animation.
B). <div>To specify the duration of an animation.
C). <div>To control the easing function of an animation.
D). <div>To hide elements from users.
Which CSS property is used to specify the number of times an animation should repeat?
A). <div>animation-iteration-count
B). <div>transition-duration
C). <div>transition-timing-function
D). <div>animation-delay
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 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.
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