Created
June 16, 2017 13:47
-
-
Save anonymous/d1ca5b27ae41d89a2f9a2eae0e4347a2 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(270deg, #4dc1a3, #151a19); | |
| background-size: 400% 400%; | |
| -webkit-animation: AnimationName 13s ease infinite; | |
| -moz-animation: AnimationName 13s ease infinite; | |
| -o-animation: AnimationName 13s ease infinite; | |
| animation: AnimationName 13s ease infinite; | |
| @-webkit-keyframes AnimationName { | |
| 0%{background-position:0% 19%} | |
| 50%{background-position:100% 82%} | |
| 100%{background-position:0% 19%} | |
| } | |
| @-moz-keyframes AnimationName { | |
| 0%{background-position:0% 19%} | |
| 50%{background-position:100% 82%} | |
| 100%{background-position:0% 19%} | |
| } | |
| @-o-keyframes AnimationName { | |
| 0%{background-position:0% 19%} | |
| 50%{background-position:100% 82%} | |
| 100%{background-position:0% 19%} | |
| } | |
| @keyframes AnimationName { | |
| 0%{background-position:0% 19%} | |
| 50%{background-position:100% 82%} | |
| 100%{background-position:0% 19%} | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment