A Pen by Levent Özgür on CodePen.
Created
April 15, 2022 20:50
-
-
Save levent1ozgur/2f9377b1b6d10dca61462a592373cce9 to your computer and use it in GitHub Desktop.
epileptic seizure
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> | |
| <meta charset="utf-8"> | |
| <style type="text/css"> | |
| body { | |
| animation: 500ms ease-in-out infinite color-change; | |
| } | |
| @keyframes color-change { | |
| 0% { | |
| background-color: white; | |
| } | |
| 20% { | |
| background-color: black; | |
| } | |
| 40% { | |
| background-color: white; | |
| } | |
| 60% { | |
| background-color: black; | |
| } | |
| 80% { | |
| background-color: white; | |
| } | |
| 100% { | |
| background-color: black; | |
| } | |
| } | |
| </style> | |
| </head> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment