CSS3 : Transition, animation.


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



Copy this code and paste it in your HTML
  1. -webkit-transition: background 300ms ease-in 2s; /* property duration timing-function delay */
  2. -moz-transition: background 300ms ease-in 2s;
  3. -o-transition: background 300ms ease-in 2s;
  4. transition: background 300ms ease-in 2s;
  5.  
  6.  
  7. -webkit-transition-property: background;
  8. -webkit-transition-duration: 300ms;
  9. -webkit-transition-timing-function: ease-in;
  10. -webkit-transition-delay: 100ms;
  11. -moz-transition-property: background;
  12. -moz-transition-duration: 300ms;
  13. -moz-transition-timing-function: ease-in;
  14. -moz-transition-delay: 100ms;
  15. -o-transition-property: background;
  16. -o-transition-duration: 300ms;
  17. -o-transition-timing-function: ease-in;
  18. -o-transition-delay: 100ms;
  19. transition-property: background;
  20. transition-duration: 300ms;
  21. transition-timing-function: ease-in;
  22. transition-delay: 100ms;

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.