-
-
Save blvkoblsk/3bd318f35a8e0fa00d2185b2db93d4ec 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(67deg, #000000, #000000, #430909); | |
background-size: 600% 600%; | |
-webkit-animation: AnimationName 52s ease infinite; | |
-moz-animation: AnimationName 52s ease infinite; | |
-o-animation: AnimationName 52s ease infinite; | |
animation: AnimationName 52s ease infinite; | |
@-webkit-keyframes AnimationName { | |
0%{background-position:0% 24%} | |
50%{background-position:100% 77%} | |
100%{background-position:0% 24%} | |
} | |
@-moz-keyframes AnimationName { | |
0%{background-position:0% 24%} | |
50%{background-position:100% 77%} | |
100%{background-position:0% 24%} | |
} | |
@-o-keyframes AnimationName { | |
0%{background-position:0% 24%} | |
50%{background-position:100% 77%} | |
100%{background-position:0% 24%} | |
} | |
@keyframes AnimationName { | |
0%{background-position:0% 24%} | |
50%{background-position:100% 77%} | |
100%{background-position:0% 24%} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment