Skip to content

Instantly share code, notes, and snippets.

Created May 20, 2015 23:48
Show Gist options
  • Save anonymous/45befee97626462de4ad to your computer and use it in GitHub Desktop.
Save anonymous/45befee97626462de4ad to your computer and use it in GitHub Desktop.
CSS Gradient Animation
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