-
-
Save waltzaround/ca6272875b978eb22ffa8d4d2c6eef54 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(225deg, #ffffff, #f3f3f3, #dfdfdf, #c3c3c3, #a1a1a1, #565656, #616161, #4e4e4e, #c1c1c1, #414141); | |
background-size: 2000% 2000%; | |
-webkit-animation: AnimationName 0s ease infinite; | |
-moz-animation: AnimationName 0s ease infinite; | |
-o-animation: AnimationName 0s ease infinite; | |
animation: AnimationName 0s ease infinite; | |
@-webkit-keyframes AnimationName { | |
0%{background-position:0% 94%} | |
50%{background-position:100% 7%} | |
100%{background-position:0% 94%} | |
} | |
@-moz-keyframes AnimationName { | |
0%{background-position:0% 94%} | |
50%{background-position:100% 7%} | |
100%{background-position:0% 94%} | |
} | |
@-o-keyframes AnimationName { | |
0%{background-position:0% 94%} | |
50%{background-position:100% 7%} | |
100%{background-position:0% 94%} | |
} | |
@keyframes AnimationName { | |
0%{background-position:0% 94%} | |
50%{background-position:100% 7%} | |
100%{background-position:0% 94%} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment