Forked from GradientAnimator/empaer-1614373958100-838.css
Created
February 26, 2021 21:13
-
-
Save daria-ts/bb9701e9f3adbc108801f9e44594bfcc 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(19deg, #2ae4ff, #65a8e3, #616fcb, #5d45ba); | |
background-size: 800% 800%; | |
-webkit-animation: empaer 7s ease infinite; | |
-moz-animation: empaer 7s ease infinite; | |
-o-animation: empaer 7s ease infinite; | |
animation: empaer 7s ease infinite; | |
} | |
@-webkit-keyframes empaer { | |
0%{background-position:50% 0%} | |
50%{background-position:51% 100%} | |
100%{background-position:50% 0%} | |
} | |
@-moz-keyframes empaer { | |
0%{background-position:50% 0%} | |
50%{background-position:51% 100%} | |
100%{background-position:50% 0%} | |
} | |
@-o-keyframes empaer { | |
0%{background-position:50% 0%} | |
50%{background-position:51% 100%} | |
100%{background-position:50% 0%} | |
} | |
@keyframes empaer { | |
0%{background-position:50% 0%} | |
50%{background-position:51% 100%} | |
100%{background-position:50% 0%} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment