Created
May 17, 2022 03:22
-
-
Save SystemJargon/1bd2cfbb96b1360cfd009cb579303b65 to your computer and use it in GitHub Desktop.
color-change-test-html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Color Test</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>Changing Background</h1> --> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment