Created
September 6, 2016 23:49
-
-
Save jolosantos/abec5c8d051d95a8be88c35cee0be227 to your computer and use it in GitHub Desktop.
Sample `background-gradient` Animation for Overwatch
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(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