Created
March 7, 2021 20:34
-
-
Save Crysknife007/2023c3943e38213cf26cb4da6438fa25 to your computer and use it in GitHub Desktop.
Breathe Sleep Aid CSS Animation
This file contains 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
<title>Breathe</title> | |
<style> | |
@keyframes breathe { | |
from { background-color: black; } | |
to { background-color: red; } | |
} | |
body { | |
animation-duration: 6s; | |
animation-name: breathe; | |
animation-iteration-count: infinite; | |
animation-direction: alternate; | |
animation-timing-function: ease-in-out; | |
} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for sharing, I appreciate you. You made my day.