Created
November 14, 2016 23:54
-
-
Save anonymous/66dad786dcd00a7cc3714d9f374676a0 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(180deg, #ea0b0b, #ea520b, #d7c005, #52a82a, #289d27, #2ab793, #28949f, #2a97b7, #2a97b7, #2a46b7, #402ab7, #5f2ab7, #782ab7, #912ab7, #b02ab7, #b72a93, #b72a6d, #b72a48, #b72a2a); | |
background-size: 3800% 3800%; | |
-webkit-animation: AnimationName 60s ease infinite; | |
-moz-animation: AnimationName 60s ease infinite; | |
-o-animation: AnimationName 60s ease infinite; | |
animation: AnimationName 60s ease infinite; | |
@-webkit-keyframes AnimationName { | |
0%{background-position:0% 97%} | |
50%{background-position:100% 4%} | |
100%{background-position:0% 97%} | |
} | |
@-moz-keyframes AnimationName { | |
0%{background-position:0% 97%} | |
50%{background-position:100% 4%} | |
100%{background-position:0% 97%} | |
} | |
@-o-keyframes AnimationName { | |
0%{background-position:0% 97%} | |
50%{background-position:100% 4%} | |
100%{background-position:0% 97%} | |
} | |
@keyframes AnimationName { | |
0%{background-position:0% 97%} | |
50%{background-position:100% 4%} | |
100%{background-position:0% 97%} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment