Run ❯
Get your
own
website
Result Size:
625 x 565
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
<!DOCTYPE html> <html> <head> <style> #myDIV { width: 300px; height: 200px; background: red; animation: mymove 5s infinite; } @keyframes mymove { from {background-color: red;} to {background-color: blue;} } </style> </head> <body> <h1>Animation of background-color</h1> <p>Gradually change the background-color from red to blue:<p> <div id="myDIV"></div> </body> </html>