Last active
August 29, 2015 14:15
-
-
Save Lorezz/97aa451b53f9e0eeb8b8 to your computer and use it in GitHub Desktop.
CSS Animated Gradient
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(49deg, #6000ff, #ff00c8, #07b1ff, #07ffca, #8cff07, #ffd907, #ff1407, #ff0772); | |
background-size: 1600% 1600%; | |
-webkit-animation: AnimationName 27s ease infinite; | |
-moz-animation: AnimationName 27s ease infinite; | |
-o-animation: AnimationName 27s ease infinite; | |
animation: AnimationName 27s ease infinite; | |
@-webkit-keyframes AnimationName { | |
0%{background-position:0% 78%} | |
50%{background-position:100% 23%} | |
100%{background-position:0% 78%} | |
} | |
@-moz-keyframes AnimationName { | |
0%{background-position:0% 78%} | |
50%{background-position:100% 23%} | |
100%{background-position:0% 78%} | |
} | |
@-o-keyframes AnimationName { | |
0%{background-position:0% 78%} | |
50%{background-position:100% 23%} | |
100%{background-position:0% 78%} | |
} | |
@keyframes AnimationName { | |
0%{background-position:0% 78%} | |
50%{background-position:100% 23%} | |
100%{background-position:0% 78%} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment