-
-
Save jukbot/5e603320cd0ab8f83586 to your computer and use it in GitHub Desktop.
Windows 8 random background color animate with CSS3 Animation
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
background: linear-gradient(131deg, #1b9475, #1b7e94, #1b4894, #281b94, #531b94, #891b94, #941b1f, #94411b, #948c1b, #51941b, #1b9430); | |
background-size: 2200% 2200%; | |
-webkit-animation: AnimationName 60s ease infinite; | |
-moz-animation: AnimationName 60s ease infinite; | |
-o-animation: AnimationName 60s ease infinite; | |
animation: AnimationName 60s ease infinite; | |
@-webkit-keyframes AnimationName { | |
0%{background-position:2% 0%} | |
50%{background-position:99% 100%} | |
100%{background-position:2% 0%} | |
} | |
@-moz-keyframes AnimationName { | |
0%{background-position:2% 0%} | |
50%{background-position:99% 100%} | |
100%{background-position:2% 0%} | |
} | |
@-o-keyframes AnimationName { | |
0%{background-position:2% 0%} | |
50%{background-position:99% 100%} | |
100%{background-position:2% 0%} | |
} | |
@keyframes AnimationName { | |
0%{background-position:2% 0%} | |
50%{background-position:99% 100%} | |
100%{background-position:2% 0%} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment