Skip to content

Instantly share code, notes, and snippets.

@synr
Forked from anonymous/my.css
Created November 14, 2016 23:26
Show Gist options
  • Save synr/b68c524ec81e1a2e5792e45919614906 to your computer and use it in GitHub Desktop.
Save synr/b68c524ec81e1a2e5792e45919614906 to your computer and use it in GitHub Desktop.
CSS Gradient Animation
/* https://www.gradient-animator.com/ */
background: linear-gradient(136deg, #b43c0f, #903e07, #725808, #5d5f0d, #729618, #7aa11b, #276b18, #19692d, #0e9862, #0c7d52, #0c687d, #0c227d, #0f0c7d, #360c7d, #4a0c7d, #5e0c7d, #720c7d, #7d0c65, #7d0c47, #7d0c24);
background-size: 4000% 4000%;
-webkit-animation: AnimationName 16s ease infinite;
-moz-animation: AnimationName 16s ease infinite;
-o-animation: AnimationName 16s ease infinite;
animation: AnimationName 16s ease infinite;
@-webkit-keyframes AnimationName {
    0%{background-position:0% 45%}
    50%{background-position:100% 56%}
    100%{background-position:0% 45%}
}
@-moz-keyframes AnimationName {
    0%{background-position:0% 45%}
    50%{background-position:100% 56%}
    100%{background-position:0% 45%}
}
@-o-keyframes AnimationName {
    0%{background-position:0% 45%}
    50%{background-position:100% 56%}
    100%{background-position:0% 45%}
}
@keyframes AnimationName {
    0%{background-position:0% 45%}
    50%{background-position:100% 56%}
    100%{background-position:0% 45%}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment