Skip to content

Instantly share code, notes, and snippets.

@zet777
Created March 14, 2018 01:29
Show Gist options
  • Save zet777/f5cefc9a4bdd97fbe7339d32865dcbc6 to your computer and use it in GitHub Desktop.
Save zet777/f5cefc9a4bdd97fbe7339d32865dcbc6 to your computer and use it in GitHub Desktop.
CSS Gradient Animation
background: linear-gradient(326deg, #316155, #5fc370, #b8c35f, #c3905f);
background-size: 800% 800%;
-webkit-animation: screenplug 11s ease infinite;
-moz-animation: screenplug 11s ease infinite;
-o-animation: screenplug 11s ease infinite;
animation: screenplug 11s ease infinite;
@-webkit-keyframes screenplug {
0%{background-position:14% 0%}
50%{background-position:87% 100%}
100%{background-position:14% 0%}
}
@-moz-keyframes screenplug {
0%{background-position:14% 0%}
50%{background-position:87% 100%}
100%{background-position:14% 0%}
}
@-o-keyframes screenplug {
0%{background-position:14% 0%}
50%{background-position:87% 100%}
100%{background-position:14% 0%}
}
@keyframes screenplug {
0%{background-position:14% 0%}
50%{background-position:87% 100%}
100%{background-position:14% 0%}
}
@zet777
Copy link
Author

zet777 commented Mar 14, 2018

New gradient fo my site.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment