-
-
Save litopia/ed56b6ac449441130d28 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
/* link: http://www.gradient-animator.com/ */ | |
background: linear-gradient(254deg, #342466, #665024, #2a6624); | |
background-size: 600% 600%; | |
-webkit-animation: AnimationName 54s ease infinite; | |
-moz-animation: AnimationName 54s ease infinite; | |
-o-animation: AnimationName 54s ease infinite; | |
animation: AnimationName 54s ease infinite; | |
@-webkit-keyframes AnimationName { | |
0%{background-position:0% 71%} | |
50%{background-position:100% 30%} | |
100%{background-position:0% 71%} | |
} | |
@-moz-keyframes AnimationName { | |
0%{background-position:0% 71%} | |
50%{background-position:100% 30%} | |
100%{background-position:0% 71%} | |
} | |
@-o-keyframes AnimationName { | |
0%{background-position:0% 71%} | |
50%{background-position:100% 30%} | |
100%{background-position:0% 71%} | |
} | |
@keyframes AnimationName { | |
0%{background-position:0% 71%} | |
50%{background-position:100% 30%} | |
100%{background-position:0% 71%} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment