What CSS property is used to define the duration of a transition effect?
- animation-duration
- duration
- time-duration
- transition-duration
The correct CSS property for defining the duration of a transition effect is transition-duration. It specifies the time taken for the transition to complete, and it should be followed by the time value (e.g., 1s for 1 second).
Loading...
Related Quiz
- Which of the following CSS combinators targets a direct child element?
- You're developing a website where certain styles should only be applied to screens wider than 768px. How would you set this condition using media queries?
- In CSS, the ________ property can be used to specify the number of columns in a multi-column layout.
- For performance considerations, which CSS function can be used to move an element on the Z-axis without triggering layout or paint operations?
- How would you define a custom property (or variable) in CSS?