Created
August 4, 2015 05:12
-
-
Save anonymous/fdc090f3d4919659be75 to your computer and use it in GitHub Desktop.
CSS Gradient Animation
This file contains hidden or 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(207deg, #10ec6f, #172de1); | |
background-size: 400% 400%; | |
-webkit-animation: test 6s ease infinite; | |
-moz-animation: test 6s ease infinite; | |
-o-animation: test 6s ease infinite; | |
animation: test 6s ease infinite; | |
@-webkit-keyframes test { | |
0%{background-position:58% 0%} | |
50%{background-position:43% 100%} | |
100%{background-position:58% 0%} | |
} | |
@-moz-keyframes test { | |
0%{background-position:58% 0%} | |
50%{background-position:43% 100%} | |
100%{background-position:58% 0%} | |
} | |
@-o-keyframes test { | |
0%{background-position:58% 0%} | |
50%{background-position:43% 100%} | |
100%{background-position:58% 0%} | |
} | |
@keyframes test { | |
0%{background-position:58% 0%} | |
50%{background-position:43% 100%} | |
100%{background-position:58% 0%} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
test gradient colors