Which CSS property specifies whether an animation should play in reverse on alternate cycles?
- animation-alternate
- animation-direction
- animation-play-state
- animation-reverse
The animation-direction property in CSS is used to specify whether an animation should play in reverse on alternate cycles. When set to alternate, the animation runs forwards, then in reverse, and so on, creating a back-and-forth animation effect. This property is valuable for creating visually interesting and dynamic animations.
Loading...
Related Quiz
- When you want to generate multiple class or ID variations in SASS, you would typically use ________.
- In a list where you want to style only list items that are not the first child, you'd use the pseudo-class ________.
- When using the "font-display" property, the value ________ ensures the text remains invisible until the font is loaded.
- Which CSS unit is relative to the root element's font size?
- Which pseudo-class in CSS is used to target elements based on their position in a parent element, like the first child?