Forked from GradientAnimator/blu-1637679327934-183.css
Created
November 24, 2021 07:59
-
-
Save tobihans/7a77dc2dd166887a8740712198f4d963 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(16deg, #0d203f, #e3cb0e); | |
background-size: 400% 400%; | |
-webkit-animation: blu 9s ease infinite; | |
-moz-animation: blu 9s ease infinite; | |
-o-animation: blu 9s ease infinite; | |
animation: blu 9s ease infinite; | |
} | |
@-webkit-keyframes blu { | |
0%{background-position:76% 0%} | |
50%{background-position:25% 100%} | |
100%{background-position:76% 0%} | |
} | |
@-moz-keyframes blu { | |
0%{background-position:76% 0%} | |
50%{background-position:25% 100%} | |
100%{background-position:76% 0%} | |
} | |
@-o-keyframes blu { | |
0%{background-position:76% 0%} | |
50%{background-position:25% 100%} | |
100%{background-position:76% 0%} | |
} | |
@keyframes blu { | |
0%{background-position:76% 0%} | |
50%{background-position:25% 100%} | |
100%{background-position:76% 0%} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment