Transition property
noun
say it: “tran-ZISH-un PROP-er-tee” /trænˈzɪʃən ˈprɒpərti/
The CSS property that names which properties should change smoothly when their values change, such as background-color or transform.
What does transition-property do?
transition-property says which properties should animate when they change.
.card { transition-property: transform, box-shadow; transition-duration: 0.2s; }
In a sentence
- “I set transition-property to background-color, so only the color fades and everything else changes right away.”
Level: Journeyman · More CSS terms at this level
Updated