Created
October 8, 2018 16:22
-
-
Save MaximeKoitsalu/d7dd70ac26b5dbf86130d70adea87173 to your computer and use it in GitHub Desktop.
top-card-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(270deg, #00b2e8, #bb99ff); | |
background-size: 400% 400%; | |
-webkit-animation: top-card-animation 30s ease infinite; | |
-moz-animation: top-card-animation 30s ease infinite; | |
-o-animation: top-card-animation 30s ease infinite; | |
animation: top-card-animation 30s ease infinite; | |
@-webkit-keyframes top-card-animation { | |
0%{background-position:0% 50%} | |
50%{background-position:100% 50%} | |
100%{background-position:0% 50%} | |
} | |
@-moz-keyframes top-card-animation { | |
0%{background-position:0% 50%} | |
50%{background-position:100% 50%} | |
100%{background-position:0% 50%} | |
} | |
@-o-keyframes top-card-animation { | |
0%{background-position:0% 50%} | |
50%{background-position:100% 50%} | |
100%{background-position:0% 50%} | |
} | |
@keyframes top-card-animation { | |
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