CSS cubic bezier() Function
CSS cubic-bezier() Function
The cubic-bezier() function is used to define a Cubic Bezier curve. It is defined by four points P0, P1, P2, and P3. P0 and P3 are the start and the end of the curve. P0 is (0, 0) and it is used to represent the initial time and the initial state. P3 is (1, 1) and it is used to represent the final time and the final state.
Its syntax is:- cubic-bezier(x1,y1,x2,y2)
|x1,y1,x2,y2||Required. Values of x1 and x2 must be a number from 0 to 1|