cubic_bezier: Create a custom easing function for animation

Description Usage Arguments Value

Description

Create a custom easing function for animation

Usage

1
cubic_bezier(x1 = 0.5, y1 = 0.5, x2 = 0.5, y2 = 0.5)

Arguments

x1, y1, x2, y2

The x and y values for the first and second bezier control points.

Value

A cubic-bezier function call as a string for use as a CSS property.


omsvg documentation built on Feb. 10, 2021, 5:10 p.m.