The cubic-bezier() function is an inbuilt function in CSS which is used to defines a Cubic Bezier curve.
A Bezier curve is a mathematically defined curve used in two-dimensional graphic applications like abode illustrator, inkscape etc.The curve is defined by four points: the initial position and the terminating position i.e P0 and P3 respectively (which are called “anchors”) and two separate middle points i.e P1 and P2(which are called “handles”) in our example.Bezier curves are frequently used in computer graphics, animation, modeling etc.
cubic-bezier( x1, y1, x2, y2 )
Parameters: This function accepts four parameter which is mandatory. It contains a numeric value and the value of x1 and x2 lies between 0 to 1.
Below program illustrates the cubic-bezier() function in CSS:
- How to get the function name inside a function in PHP ?
- PHP | pi( ) Function
- p5.js | nfc() function
- PHP | Ds\Set contains() Function
- p5.js | mag() Function
- p5.js | nfp() Function
- D3.js | d3.set.add() Function
- p5.js | nfs() Function
- D3.js | d3.map.set() Function
- PHP | pow( ) Function
- D3.js | d3.lab() Function
- D3.js | d3.hcl() Function
- CSS | url() Function
- PHP | Ds\Set add() Function
- p5.js | box() Function
- D3.js | d3.map.has() Function
- PHP | Ds\Set first() Function
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to email@example.com. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.