Created
August 2, 2017 00:01
-
-
Save anonymous/47ffded6fc7634a9c3cac05d13976bf3 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(299deg, #4b1313, #000000, #000000); | |
background-size: 600% 600%; | |
-webkit-animation: AnimationName 48s ease infinite; | |
-moz-animation: AnimationName 48s ease infinite; | |
-o-animation: AnimationName 48s ease infinite; | |
animation: AnimationName 48s ease infinite; | |
@-webkit-keyframes AnimationName { | |
0%{background-position:0% 97%} | |
50%{background-position:100% 4%} | |
100%{background-position:0% 97%} | |
} | |
@-moz-keyframes AnimationName { | |
0%{background-position:0% 97%} | |
50%{background-position:100% 4%} | |
100%{background-position:0% 97%} | |
} | |
@-o-keyframes AnimationName { | |
0%{background-position:0% 97%} | |
50%{background-position:100% 4%} | |
100%{background-position:0% 97%} | |
} | |
@keyframes AnimationName { | |
0%{background-position:0% 97%} | |
50%{background-position:100% 4%} | |
100%{background-position:0% 97%} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment