If you want an animation to play forwards first, then reverse on alternate cycles, which value of animation-direction would you use?
- alternate
- alternate-reverse
- normal
- reverse
To make an animation play forwards first and then reverse on alternate cycles, you would use the animation-direction property with the value alternate-reverse. This value causes the animation to run normally on odd iterations (forwards) and in reverse on even iterations.
Loading...
Related Quiz
- You're working on a website where you want a circular profile picture, but the original image is square. How would you achieve this effect using CSS?
- What's the difference between the CSS functions min(), max(), and clamp()?
- Which CSS pseudo-class would allow you to target only the last list item in an unordered list?
- What does the "forwards" value for the "animation-fill-mode" property do?
- You are tasked with creating a vintage look for images on a webpage. Which CSS filter or combination of filters would you likely use?