The ________ value of the animation-direction property in CSS is used to alternate the animation cycle.
- normal
- reverse
- alternate
- alternate-reverse
The correct option is 'alternate'. When 'animation-direction' is set to 'alternate', the animation plays forward, then backward, creating an alternating cycle. This is useful for creating back-and-forth animations, adding variety to the visual experience.
Loading...
Related Quiz
- To control the width of the columns in a multi-column layout, the CSS property used is column-width: ________.
- You are designing a website for accessibility and need to ensure that text can be resized without breaking the layout. Which CSS units should you consider using for font sizes to achieve this?
- A designer wants to ensure that the spacing between paragraphs remains proportional to the user's default browser font size. Which CSS unit should they use to define the margin and padding of the paragraphs?
- To increase the specificity of a class selector without adding more elements or IDs, you can __________ the class name in the selector.
- The default value of animation-timing-function is ______.