Created
March 14, 2018 01:29
-
-
Save zet777/f5cefc9a4bdd97fbe7339d32865dcbc6 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
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%} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
New gradient fo my site.