Abakada: Back to Basics > Language References > CSS Properties > Transition Properties > transition-behavior Property
specifies whether transitions will be started for properties whose animation behavior is discrete.
CSS |
{ transition-behavior: normal | allow-discrete } |
Script |
object.style.transitionBehavior = normal | allow-discrete |
Parameter |
Description |
Valid Values |
normal |
|
|
allow-discrete |
|
|
The property is read/write with a default value of normal; this attribute is not inherited.
The transition-behavior property specifies whether transitions will be started or not for discrete properties.
When normal is specified, transitions will not be started for discrete properties, only for interpolable properties. When allow-discrete is specified, transitions will be started for discrete properties as well as interpolable properties.
NOTE: This section is currently under major reconstruction. Please bear with whatever inconvenience you may encounter; we hope to complete the job at the soonest possible time.
For a brief overview, please see Understanding and Using CSS Transitions.
transition, transition-property, transition-duration, transition-timing-function, transition-delay