Created
December 25, 2014 13:14
-
-
Save anonymous/c88773c7ff2ad44dec41 to your computer and use it in GitHub Desktop.
CSS Gradient 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
background: linear-gradient(220deg, #25a584, #447fbe, #be4486, #be5e44, #9dad39); | |
background-size: 1000% 1000%; | |
-webkit-animation: GiveMeColor 60s ease infinite; | |
-moz-animation: GiveMeColor 60s ease infinite; | |
-o-animation: GiveMeColor 60s ease infinite; | |
animation: GiveMeColor 60s ease infinite; | |
@-webkit-keyframes GiveMeColor { | |
0%{background-position:78% 0%} | |
50%{background-position:23% 100%} | |
100%{background-position:78% 0%} | |
} | |
@-moz-keyframes GiveMeColor { | |
0%{background-position:78% 0%} | |
50%{background-position:23% 100%} | |
100%{background-position:78% 0%} | |
} | |
@-o-keyframes GiveMeColor { | |
0%{background-position:78% 0%} | |
50%{background-position:23% 100%} | |
100%{background-position:78% 0%} | |
} | |
@keyframes GiveMeColor { | |
0%{background-position:78% 0%} | |
50%{background-position:23% 100%} | |
100%{background-position:78% 0%} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment