Check out example codes for "bezier curve css". It will help you in understanding the concepts better.

Code Example 1

In CSS, the cubic-bezier curve is used to control how the animation
will play throughout. The shape of the curve represents the animation play.
The curve lies on a 1 by 1 co-ordinate system.The X-axis implies the 
duration(time) of the animation. The Y-axis implies the change in the 
animation. The curve mainly has four points of which two points are specific.
The two points are the origin O(0,0) and the other is (1,1).
The other two points are defined by us (x1,y1) and (x2,y2).



The code goes like this--

animation-timing-function: cubic-bezier(x1,y1,x2,y2);





The co-ordinate system--
                                (Y-AXIS)
         [CHANGE IN ANIMATION]   /|\
                                  |  
                                  |                 . (1,1)
                                  |
                                  |
                                  |
                                  |
                                  |             
                                  |                                   (X-AXIS)
     /____________________________._________________________________\
     \                     o(0,0) |                                 /
							      |                     [DURATION IN ANIMATION]
							      | 
							      |
							      |
							      |
							      |
                                  |
                                  |
                                 \|/

Code Example 2

div {
  width: 100px;
  height: 100px;
  background: red;

   
 transition: width 2s;
  transition-timing-function: cubic-bezier(0.1, 0.7, 1.0, 0.1);

 }

Learn ReactJs, React Native from akashmittal.com