CSS
HTML
JavaScript
jQuery
PHP
SQL
WordPress
CSS Reference

Quick Reference

The cubic-bezier() function describes a curve that is defined by four points P0 (starting point/state), P1, P2, and P3 (ending point/state).

P0 is (0, 0) and represents the initial time and the initial state, P3 is (1, 1) and represents the final time and the final state.

				
					div {
    width: 90px;
    height: 90px;
    background: red;
    transition: width 3s;
    transition-timing-function: cubic-bezier(0.1, 0.5, 1.0, 0.3);
  }
				
			

Syntax

				
					cubic-bezier(x1,y1,x2,y2)
				
			

Values

ValueDescription
x1, y1, x2, y2 Numeric values; x1 and x2 must be a number from 0 to 1 (required)

We’d like to acknowledge that we learned a great deal of our coding from W3Schools and TutorialsPoint, borrowing heavily from their teaching process and excellent code examples. We highly recommend both sites to deepen your experience, and further your coding journey. We’re just hitting the basics here at 1SMARTchicken.

CSS
HTML
JavaScript
jQuery
PHP
SQL
WordPress

Why 1SMARTchicken?

This site was built and is maintained to benefit my autistic son.
See More →

My Son's Name is Johnny

He was diagnosed as autistic quite late, at age four...
His story

Buy Me a Coffee

Thanks for your support!

Feedback

If you see an error on the page or the code itself is incorrect or incomplete, or just plain wrong, please let us know. We’re always learning. NOTE: we do not sell your information and will not send you spam emails.