16 of 16
Limit transitions to intended properties
List the properties that should animate in a state change. A broad transition can also animate unrelated changes in computed style.
Dotransition-property: scale, background-color
Don’ttransition: all 150ms ease-out
Before you ship
- Which computed values are intended to interpolate?
- Does an unrelated explicit width change stretch the control?
- Does the rest of the interface settle as expected?