Created
March 17, 2020 04:50
-
-
Save GradientAnimator/19b39e80489f4f144806d00a755c27eb 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(186deg, #713399, #aa71cf); | |
background-size: 400% 400%; | |
-webkit-animation: AnimationName 17s ease infinite; | |
-moz-animation: AnimationName 17s ease infinite; | |
-o-animation: AnimationName 17s ease infinite; | |
animation: AnimationName 17s ease infinite; | |
@-webkit-keyframes AnimationName { | |
0%{background-position:0% 87%} | |
50%{background-position:100% 14%} | |
100%{background-position:0% 87%} | |
} | |
@-moz-keyframes AnimationName { | |
0%{background-position:0% 87%} | |
50%{background-position:100% 14%} | |
100%{background-position:0% 87%} | |
} | |
@-o-keyframes AnimationName { | |
0%{background-position:0% 87%} | |
50%{background-position:100% 14%} | |
100%{background-position:0% 87%} | |
} | |
@keyframes AnimationName { | |
0%{background-position:0% 87%} | |
50%{background-position:100% 14%} | |
100%{background-position:0% 87%} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment