TL; DR
I found that the curve [.02, .01, .47, 1] Bezier provides a fairly good approximation.
CSS3
-webkit-transition: all 1s cubic-bezier(.02, .01, .47, 1); -moz-transition: all 1s cubic-bezier(.02, .01, .47, 1); transition: all 1s cubic-bezier(.02, .01, .47, 1);
JQuery
$(element).animate({ height: height }, 1000, $.easie(.02, .01, .47, 1));
with jquery.easie (you can also use bez ).
Quest
I used these graphs from Sparky672 to find out the exact function and its arguments:

This is the same as y = โx โข (x โ 2) , where x is between 0 and 1 .
So I created a graph with abettercalculator :

I trimmed it and posted it online.
He then used position: absolute to overlay cubic-bezier.com , proposed by Jim Jeffers.

The resulting approximation that I used was [.02, .01, .47, 1] .
Dan abramov
source share