WIKI
Using CSS Tranform property you can Rotate, Skew, Scale and Move the element.
The syntax is
transform: |
translate |
(10px |
10px) |
Property | Method | X Axis | Y Axis |
RotateX property rotates element along X Axis. Syntax is
transform: |
RotateX |
(10deg) |
Property | Method | Degree of Rotation |
A
Transform: RotateX(
0deg)
RotateY property rotates element along Y Axis. Syntax is
transform: |
RotateY |
(10deg) |
Property | Method | Degree of Rotation |
A
Transform: RotateX(
0deg)
RotateZ property rotates element along Z Axis. Syntax is
transform: |
RotateZ |
(10deg) |
Property | Method | Degree of Rotation |
A
Transform: RotateZ(
0deg)
SkewX
transform: |
SkewX |
(10deg) |
Property | Method | Degree of Rotation |
A
Transform: RotateZ(
0deg)
SkewY
transform: |
SkewY |
(10deg) |
Property | Method | Degree of Rotation |
A
Transform: RotateZ(
0deg)
SkewY
transform: |
ScaleX |
(2) |
Property | Method | Degree of Rotation |
SkewY
transform: |
ScaleY |
(2) |
Property | Method | Degree of Rotation |
MoveX
transform: |
MoveX |
(10px) |
Property | Method | Movement in px |
A
Transform: translateX(
0px)
MoveY
transform: |
MoveY |
(10px) |
Property | Method | Movement in px |
A
Transform: translateY(
0pxpx)