Created
October 27, 2017 19:30
-
-
Save anonymous/e923c7b37e2b2aae819c7681c194a9fa 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(270deg, #fb966e, #eaf0ce, #b3c9b0, #f3d45c, #bec8d9, #eb7a77, #ffadbc, #d9d0e0, #8b9cd2, #f7f2af, #97c9c6, #ffcfa8); | |
background-size: 2400% 2400%; | |
-webkit-animation: AnimationName 59s ease infinite; | |
-moz-animation: AnimationName 59s ease infinite; | |
-o-animation: AnimationName 59s ease infinite; | |
animation: AnimationName 59s ease infinite; | |
@-webkit-keyframes AnimationName { | |
0%{background-position:0% 50%} | |
50%{background-position:100% 50%} | |
100%{background-position:0% 50%} | |
} | |
@-moz-keyframes AnimationName { | |
0%{background-position:0% 50%} | |
50%{background-position:100% 50%} | |
100%{background-position:0% 50%} | |
} | |
@-o-keyframes AnimationName { | |
0%{background-position:0% 50%} | |
50%{background-position:100% 50%} | |
100%{background-position:0% 50%} | |
} | |
@keyframes AnimationName { | |
0%{background-position:0% 50%} | |
50%{background-position:100% 50%} | |
100%{background-position:0% 50%} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment