-
-
Save PatMurrayDEV/8d62074538989bacc2239c27103b1979 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(222deg, #d3555c, #f48d3a, #fdc753, #70bc53, #249cd5, #9d61a4); | |
background-size: 1200% 1200%; | |
-webkit-animation: GradientScroll 30s ease infinite; | |
-moz-animation: GradientScroll 30s ease infinite; | |
-o-animation: GradientScroll 30s ease infinite; | |
animation: GradientScroll 30s ease infinite; | |
@-webkit-keyframes GradientScroll { | |
0%{background-position:90% 0%} | |
50%{background-position:11% 100%} | |
100%{background-position:90% 0%} | |
} | |
@-moz-keyframes GradientScroll { | |
0%{background-position:90% 0%} | |
50%{background-position:11% 100%} | |
100%{background-position:90% 0%} | |
} | |
@-o-keyframes GradientScroll { | |
0%{background-position:90% 0%} | |
50%{background-position:11% 100%} | |
100%{background-position:90% 0%} | |
} | |
@keyframes GradientScroll { | |
0%{background-position:90% 0%} | |
50%{background-position:11% 100%} | |
100%{background-position:90% 0%} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment