Common Animation Properties:
Transform:translate (x,y);/translate, x means to move the distance, y represents the downward moving distance;
Transform:scale (x,y);//zoom, X for horizontal scaling multiples, y for vertical scaling multiples;
Transform:rotate (x);//rotate, x represents the number of degrees clockwise rotation, such as rotate (10deg);
Transform:skew (x,y);/Italic, x\y represents an oblique animation transition along the x-axis and y-axis, respectively.
Transition-property lists the CSS properties that elements should transition, and the properties that can be overused include background, border, and box model properties:
Transition-duration Set Transition duration
Transition-timing-function set the speed of the transition, one of the available ease, linear, ease-in, ease-out, or Ease-in-out
Transition-delay Animation delay Time
Abbreviated form:
#selector {transition:transform 0.2s ease}
The order of the values must be in the following order: Transition-property transition-duration transition-function Transition-delay
Example Show:
CSS code: CSS3 Conversion and transition map of the yellow coil out of the transition part of the code, set the 1s to complete the corresponding animation, the green box is the conversion effect, indicating that the mouse moved to the H1 title, the text will be enlarged 2.5 times times.