Evan Kennedy Evan Kennedy - 1 year ago 86
CSS Question

Targeting a specific CSS transform with transition

Is there a way to target a specific CSS Transform property (such as

) with the Transition property? Something along the lines of:

transition: 200ms transform-Rotate, 500ms transform-TranslateX;

Answer Source

No. The CSS transition spec states that only single CSS properties can be used in the transition-property field. transform is a CSS property. Rotate(), Scale(), etc, are transform functions, not CSS properties.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download