Forked from GradientAnimator/Ripl-1650660902009-758.css
Created
April 22, 2022 21:03
-
-
Save AWrightIV/ce56d51bcebc4ef760e1f94377d146a0 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
.css-selector { | |
background: linear-gradient(247deg, #e9418b, #5a4ce0, #37e9e3); | |
background-size: 600% 600%; | |
-webkit-animation: Ripl 3s ease infinite; | |
-moz-animation: Ripl 3s ease infinite; | |
-o-animation: Ripl 3s ease infinite; | |
animation: Ripl 3s ease infinite; | |
} | |
@-webkit-keyframes Ripl { | |
0%{background-position:0% 50%} | |
50%{background-position:100% 50%} | |
100%{background-position:0% 50%} | |
} | |
@-moz-keyframes Ripl { | |
0%{background-position:0% 50%} | |
50%{background-position:100% 50%} | |
100%{background-position:0% 50%} | |
} | |
@-o-keyframes Ripl { | |
0%{background-position:0% 50%} | |
50%{background-position:100% 50%} | |
100%{background-position:0% 50%} | |
} | |
@keyframes Ripl { | |
0%{background-position:0% 50%} | |
50%{background-position:100% 50%} | |
100%{background-position:0% 50%} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment