transformation scale css code example Example: transform scale transform: scale(2, 0.5); /* Equal to scaleX(2) scaleY(0.5) */