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