css transform scaley code example

Example 1: transform scale

transform: scale(2, 0.5); /* Equal to scaleX(2) scaleY(0.5) */

Example 2: css transform

transform: matrix(1, 2, 3, 4, 5, 6);
transform: matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
transform: translate(120px, 50%);
transform: scale(2, 0.5);
transform: rotate(0.5turn);
transform: skew(30deg, 20deg);
transform: scale(0.5) translate(-100%, -100%);
transform: perspective(17px);

Example 3: css scale

transform: scale(sx,sy);

Example 4: css scale

scale(sx)

scale(sx, sy)

Tags:

Html Example