Course Technology Cengage Learning New Perspectives on HTML5 and CSS3, 8th Edition
Tutorial 4

2D Multiple Transformations

To apply multiple transformations in two dimensions, apply the following transform style:

transform: effects;

where effects is a space-separated list of transformation functions. Transformations are applied in the order in which they are listed. To modify the origin of all transformations in the list, apply the transform-origin style.

Use the web form below to generate the CSS code to apply multiple transformations to the preview image and to change the location of the transformation. Use the checkboxes to add or remove transformations from the space-separated list.

2D Multiple Transformations

-100px 100px
-100px 100px
-100px 100px
-100px 100px
-2.0 2.0
2.0 2.0
-2.0 2.0
-2.0 2.0
-360deg 360deg
-360deg 360deg
-360deg 360deg
-360deg 360deg
-360deg 360deg

0% 100%
0% 100%
none initial;