Which CSS property is used to create animations by gradually changing from one set of CSS styles to another?
- animate
- animate-duration
- animation-duration
- keyframes
The CSS property used to create animations by gradually changing from one set of CSS styles to another is keyframes. Keyframes are used to define a sequence of style changes over a specified duration using the @keyframes rule. The animation duration can be controlled by the animation-duration property.
Loading...
Related Quiz
- What is the role of the grid-gap property in a grid layout?
- The CSS property ________ can be used to control the amount of space after each paragraph.
- In the BEM methodology, how is a modifier typically represented in a class name?
- To ensure that a block of text doesn't wrap to the next line, you would set the white-space property to ________.
- You have a style rule with a class selector that is not being applied, even though another rule with three type selectors is applied to the same element. What could be the reason based on specificity?