cubic_bezier: Create a custom easing function for animation
Description
Create a custom easing function for animation
Usage
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.