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