Advertisement
obiedog

Color Fade Code

May 19th, 2013
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 0.47 KB | None | 0 0
  1. .title {
  2.     animation: rainbows 5s infinite linear;
  3.     -webkit-animation: rainbows infinite 5s linear;
  4. }
  5. @keyframes rainbows {
  6.     0% {color:#f00}
  7.     16% {color:#f80}
  8.     33% {color:#ff0}
  9.     50% {color:#0f0}
  10.     66% {color:#00f}
  11.     83% {color:#70f}
  12.     100% {color:#90f}
  13. }
  14. @-webkit-keyframes rainbows {
  15.     0% {color:#f00}
  16.     16% {color:#f80}
  17.     33% {color:#ff0}
  18.     50% {color:#0f0}
  19.     66% {color:#00f}
  20.     83% {color:#70f}
  21.     100% {color:#90f}
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement