<html>
<head>
<style>
div {
width: 100px;
height: 100px;
background: red;
transition: width 2s;
transition-timing-function: cubic-bezier(0.1, 0.7, 1.0, 0.1);
}
div:hover {
width:300px;
}
</style>
</head>
<body>
<h1>The cubic-bezier() Function</h1>
<p>Hover over the div element below, to see the transition effect.</p>
<div></div>
</body>
</html>