HTML and CSS Reference
In-Depth Information
In addition to rotate and translate , there are several other transforma-
tion commands:
scale() —You've seen examples of scaling already. Earlier examples
scaled the entire viewBox . This command allows you to control it for
specific elements.
matrix() —This is a powerful transformation that allows you to emu-
late all the others in combination, if you understand the mathematics
of matrix transformations. If, like me, you missed that particular part
of the curriculum, it's easiest to stick to the other transformations.
skewX() and skewY() —See the following table.
No transform
skewX(45)
No transform
skewY(33)
 
Search WWH ::




Custom Search