Created
April 12, 2016 20:41
-
-
Save anonymous/e71fd2e46a3235a2ba559b396f82749e 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(293deg, #aad8cb, #dc654d, #f7d66c, #372e36, #1a1919); | |
background-size: 1000% 1000%; | |
-webkit-animation: background 30s ease infinite; | |
-moz-animation: background 30s ease infinite; | |
-o-animation: background 30s ease infinite; | |
animation: background 30s ease infinite; | |
@-webkit-keyframes background { | |
0%{background-position:96% 0%} | |
50%{background-position:5% 100%} | |
100%{background-position:96% 0%} | |
} | |
@-moz-keyframes background { | |
0%{background-position:96% 0%} | |
50%{background-position:5% 100%} | |
100%{background-position:96% 0%} | |
} | |
@-o-keyframes background { | |
0%{background-position:96% 0%} | |
50%{background-position:5% 100%} | |
100%{background-position:96% 0%} | |
} | |
@keyframes background { | |
0%{background-position:96% 0%} | |
50%{background-position:5% 100%} | |
100%{background-position:96% 0%} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment