Transform function can realize the rotation, bloom, tilt, and movement of text or image;
Note: 1, its movement, rotation, tilt, and bloom the use of the 4 effects of different order, the page will show different results;
2, the attribute value has one parameter and has multiple parameters;
3, in the movement of the effect of attention to its direction of movement (it is easy to look at the effect, do not know to move to that);
Property values for Tansform:
At 2D:
1, translate (x, y): There are two parameters, the first parameter represents the horizontal direction of movement, the second parameter represents the vertical direction of movement, note--- when only one parameter is written to move only in the horizontal direction, the vertical direction does not move; Notation Translate (50px,60px) or translate (1000px);
2, Ratate (x): The parameter is expressed in degrees, the unit is expressed in degrees, the notation is ratate (45deg), the rotation direction is clockwise rotation;
3, Skew ()
deform attribute Transform