Pages

CSS Transition code for All Properties

Here is the default CSS3 Transition properties to animate the div elements ot the images ( with cross browser prefix ) this will apply to all attributes ( Background, color, with, height, whatever...)

.effect {
  -moz-transition: all 0.2s ease; /* FF3.7+ */
  -o-transition: all 0.2s ease; /* Opera 10.5 */
  -webkit-transition: all 0.2s ease; /* Saf3.2+, Chrome */
  transition: all 0.2s ease;
}

Search This Blog