ipf-transform-scale

Scales the element horizontally and vertically with a factor.

  • Format: ipf-transform-scale(Factor)

    Factor is the scaling factor and is either a value representing the scaling both horizontally and vertically, or a tuple with [HorizontalFactor,VerticalFactor], where each factor is a value representing the scaling in the respective direction. The factor values do not take a unit; 1.5 means 50% larger, 0.5 means half the size, etc.

  • Default parameter value: 1
  • Not inherited
  • Example: ipf-transform-scale(0.5) on the button: