Posted By

simonbouchard on 08/06/10


Tagged

CSS3


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

Carolyne
kimil


CSS3: Color & Background Transition Effect


 / Published in: CSS
 

This make a nice and cool transition effect when you mouse over on links.

  1. div.class a:hover {
  2. -o-transition-duration: .55s;
  3. -o-transition-property: color, background-color;
  4. -webkit-transition-duration: .55s;
  5. -webkit-transition-property: color, background-color;
  6. -moz-transition-duration: .55s;
  7. -moz-transition-property: color, background-color; }

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: simonbouchard on August 6, 2010

The -moz-transition properties are going to be Introduced in Gecko 2 (Firefox 4).

You need to login to post a comment.