Skip to content

Instantly share code, notes, and snippets.

@jolosantos
Created September 6, 2016 23:49
Show Gist options
  • Save jolosantos/abec5c8d051d95a8be88c35cee0be227 to your computer and use it in GitHub Desktop.
Save jolosantos/abec5c8d051d95a8be88c35cee0be227 to your computer and use it in GitHub Desktop.
Sample `background-gradient` Animation for Overwatch
background: linear-gradient(230deg, #1e3f5d, #186098, #2d8ca9, #878cea, #7a98ee);
background-size: 1000% 1000%;
-webkit-animation: AnimationName 21s ease infinite;
-moz-animation: AnimationName 21s ease infinite;
animation: AnimationName 21s ease infinite;
@-webkit-keyframes AnimationName {
0%{background-position:0% 27%}
50%{background-position:100% 74%}
100%{background-position:0% 27%}
}
@-moz-keyframes AnimationName {
0%{background-position:0% 27%}
50%{background-position:100% 74%}
100%{background-position:0% 27%}
}
@keyframes AnimationName {
0%{background-position:0% 27%}
50%{background-position:100% 74%}
100%{background-position:0% 27%}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment