Posted By

thesmu on 11/18/10


Tagged

css CSS3 transition


Versions (?)

css3 transitions


 / Published in: CSS
 

URL: http://www.alistapart.com/articles/understanding-css3-transitions/

  1. a.foo {
  2. padding: 5px 10px;
  3. background: #9c3;
  4. -webkit-transition: background 0.3s ease;
  5. -moz-transition: background 0.3s ease;
  6. -o-transition: background 0.3s ease;
  7. transition: background 0.3s ease;
  8. }
  9. a.foo:hover {
  10. background: #690;
  11. }

Report this snippet  

You need to login to post a comment.