Google News
logo
CSS - Interview Questions
What is the cubic-bezier() function?
The cubic-bezier() function defines a Cubic Bezier curve.
 
Example :
 
div {
  width: 150px;
  height: 150px;
  background: blue;
  transition: width 2s;
  transition-timing-function: cubic-bezier(0.1, 0.7, 1.0, 0.1);
}
Advertisement