<div class="container">
  <p>Hover over the container to see the element's background color and left position offset transition.</p>
  <p>
    <code>transition-duration: .3s, .3s;</code>
  </p>
  <div class="element element-1"></div>
  <p>
    <code>transition-duration: .6s, .6s;</code>
  </p>
  <div class="element element-2"></div>
  <p>
    <code>transition-duration: 1s, 1s;</code>
  </p>
  <div class="element element-3"></div>
  <p>
    <code>transition-duration: 2s, 2s;</code>
  </p>
  <div class="element element-4"></div>
</div>
body {
  background-color: #F5F5F5;
  color: #555;
  font-size: 1.1em;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.container {
  margin: 50px auto;
  max-width: 700px;
  padding: 1em;
  border: 1px solid #aaa;
  background-color: white;
}

.element {
  padding: 1em;
  width: 30px;
  height: 30px;
  left: 0;
  background-color: #009966;
  position: relative;
  -webkit-transition-property: background-color, left;
  transition-property: background-color, left;
  -webkit-transition-timing-function: linear, linear;
  transition-timing-function: linear, linear;
}

.container:hover .element {
  left: 250px;
  background-color: purple;
}

.element-1 {
  -webkit-transition-duration: .3s, .3s;
  transition-duration: .3s, .3s;
}

.element-2 {
  -webkit-transition-duration: .6s, .6s;
  transition-duration: .6s, .6s;
}

.element-3 {
  -webkit-transition-duration: 1s, 1s;
  transition-duration: 1s, 1s;
}

.element-4 {
  -webkit-transition-duration: 2s, 2s;
  transition-duration: 2s, 2s;
}