Function interpolateTransformCss

  • Returns an interpolator between the two 2D CSS transforms represented by a and b. Each transform is decomposed to a standard representation of translate, rotate, x-skew and scale; these component transformations are then interpolated. This behavior is standardized by CSS: see matrix decomposition for animation.

    Parameters

    • a: string
    • b: string

    Returns ((t) => string)

      • (t): string
      • Parameters

        • t: number

        Returns string