Transform: Animate object Properties (available for animations with gradient effects)
One, transition: animation over-effect
Note: The Transition-duration property is always set, otherwise the duration is 0, and the transition effect is not created.
Transition property values and how to use them:
1.TRANSITION-PROPERTY Specifies the name of the CSS property that sets the transition effect.
2.transition-duration time required for excessive animation
3.transition-timing-function Animation's Excessive curve
NOTE: linear: Transition effect for same speed start to end
4.transition-delay when the animation starts
Second, translate: translation effect of animation
Attribute values can be added with coordinates of x Y Z Point
Transform:translatex (50px)//Right translation 50px
Scale: The rotation of the animation
Transform:rotate (9deg)//Rotate 9 degrees
Specific cases
Use transform to set the slow entry of the picture
var obj=documen.getelementbyclassname ("classname") [0];
Obj.setattribute ("Class", Obj.getattribute ("class") + "classname2");
CSS Animation styles