Created
October 17, 2017 12:48
-
-
Save anonymous/e174aad9d55db81cdaa10ea72a53db30 to your computer and use it in GitHub Desktop.
CSS Gradient 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(180deg, #2489db, #24dbbc, #24db2b, #dbbf24, #db6624, #db2453, #db24a4, #9124db); | |
background-size: 1600% 1600%; | |
-webkit-animation: home-button 57s ease infinite; | |
-moz-animation: home-button 57s ease infinite; | |
-o-animation: home-button 57s ease infinite; | |
animation: home-button 57s ease infinite; | |
@-webkit-keyframes home-button { | |
0%{background-position:71% 0%} | |
50%{background-position:30% 100%} | |
100%{background-position:71% 0%} | |
} | |
@-moz-keyframes home-button { | |
0%{background-position:71% 0%} | |
50%{background-position:30% 100%} | |
100%{background-position:71% 0%} | |
} | |
@-o-keyframes home-button { | |
0%{background-position:71% 0%} | |
50%{background-position:30% 100%} | |
100%{background-position:71% 0%} | |
} | |
@keyframes home-button { | |
0%{background-position:71% 0%} | |
50%{background-position:30% 100%} | |
100%{background-position:71% 0%} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment