CSS3: Color & Background Transition Effect


/ Published in: CSS
Save to your folder(s)

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


Copy this code and paste it in your HTML
  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

You need to login to post a comment.