Created
October 10, 2019 08:37
-
-
Save R3M4G/bf7f6859feaabe4bd13404caea5468c2 to your computer and use it in GitHub Desktop.
Gradient Animation inspired by Instagram
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, #833ab4, #fd1d1d, #fcb045); | |
background-size: 600% 600%; | |
-webkit-animation: Instagram 30s ease infinite; | |
-moz-animation: Instagram 30s ease infinite; | |
-o-animation: Instagram 30s ease infinite; | |
animation: Instagram 30s ease infinite; | |
@-webkit-keyframes Instagram { | |
0%{background-position:0% 50%} | |
50%{background-position:100% 50%} | |
100%{background-position:0% 50%} | |
} | |
@-moz-keyframes Instagram { | |
0%{background-position:0% 50%} | |
50%{background-position:100% 50%} | |
100%{background-position:0% 50%} | |
} | |
@-o-keyframes Instagram { | |
0%{background-position:0% 50%} | |
50%{background-position:100% 50%} | |
100%{background-position:0% 50%} | |
} | |
@keyframes Instagram { | |
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