/ Published in: CSS
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
body { background: white; -webkit-animation-name: fade; -webkit-animation-duration: 4s; -webkit-animation-iteration-count: 1; } @-webkit-keyframes fade { 0% { background: red; } 25% { background: green; } 50% { background: blue; } 75% { background: orange; } 100% { background: white; } }