Source Code:
(back to article)
Submit
Result:
Report an issue
<!DOCTYPE html> <html> <head> <title>Titre du document</title> <style> body { -webkit-animation: colorchange 20s infinite; animation: colorchange 20s infinite; } @-webkit-keyframes colorchange { 0% { background: #8ebf42; } 25% { background: #e6ebef; } 50% { background: #1c87c9; } 75% { background: #095484; } 100% { background: #d0e2bc; } } @keyframes colorchange { 0% { background: #8ebf42; } 25% { background: #e6ebef; } 50% { background: #1c87c9; } 75% { background: #095484; } 100% { background: #d0e2bc; } } </style> </head> <body> <h1>Fond changeant</h1> </body> </html>