Created
May 20, 2015 23:48
-
-
Save anonymous/45befee97626462de4ad 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(223deg, #00ffbd, #7d00ff, #ef583a); | |
background-size: 600% 600%; | |
-webkit-animation: Channel 42s ease infinite; | |
-moz-animation: Channel 42s ease infinite; | |
-o-animation: Channel 42s ease infinite; | |
animation: Channel 42s ease infinite; | |
@-webkit-keyframes Channel { | |
0%{background-position:81% 0%} | |
50%{background-position:20% 100%} | |
100%{background-position:81% 0%} | |
} | |
@-moz-keyframes Channel { | |
0%{background-position:81% 0%} | |
50%{background-position:20% 100%} | |
100%{background-position:81% 0%} | |
} | |
@-o-keyframes Channel { | |
0%{background-position:81% 0%} | |
50%{background-position:20% 100%} | |
100%{background-position:81% 0%} | |
} | |
@keyframes Channel { | |
0%{background-position:81% 0%} | |
50%{background-position:20% 100%} | |
100%{background-position:81% 0%} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment