CSS Intro

CSS Intro Quiz

CSS Intro Exercise

CSS Basic

CSS Basic Quiz

CSS Basic Exercise

CSS Advance

CSS Advance Quiz

CSS Advance Exercise


CSS3 Quiz

CSS3 Exercise

CSS Properties

CSS Functions

CSS Selectors

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)


Further Explanation:-


Value Description
x1,y1,x2,y2 Required. Values of  x1 and x2 must be a number from 0 to 1

Code Explanation

All Tutorials related to CSS Functions

All Sections related to CSS