<div> ease </div>
    <div> linear </div>
    <div> ease-in </div>
    <div> ease-out </div>
    <div> ease-in-out </div>
div {
    width: 100px;
    height: 100px;
    font-family: 'Open Sans';
    font-weight: bold;
    background-color: red;
    color: white;
    margin: 10px;
    padding: 5px;
    box-sizing: border-box;
    transition-property: width;
    transition-duration: 2s;
}

div:nth-of-type(1) {
    transition-timing-function: ease;
}

div:nth-of-type(2) {
    transition-timing-function: linear;
}

div:nth-of-type(3) {
    transition-timing-function: ease-in;
}

div:nth-of-type(4) {
    transition-timing-function: ease-out;
}

div:nth-of-type(5) {
    transition-timing-function: ease-in-out;
}

div:hover {
    width: 300px;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.