Created
February 16, 2016 19:38
-
-
Save anonymous/7fa2afead165f6bcd08a 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(147deg, #336699, #dde71d); | |
background-size: 400% 400%; | |
-webkit-animation: AnimationRolograafBackground 3s ease infinite; | |
-moz-animation: AnimationRolograafBackground 3s ease infinite; | |
-o-animation: AnimationRolograafBackground 3s ease infinite; | |
animation: AnimationRolograafBackground 3s ease infinite; | |
@-webkit-keyframes AnimationRolograafBackground { | |
0%{background-position:0% 5%} | |
50%{background-position:100% 96%} | |
100%{background-position:0% 5%} | |
} | |
@-moz-keyframes AnimationRolograafBackground { | |
0%{background-position:0% 5%} | |
50%{background-position:100% 96%} | |
100%{background-position:0% 5%} | |
} | |
@-o-keyframes AnimationRolograafBackground { | |
0%{background-position:0% 5%} | |
50%{background-position:100% 96%} | |
100%{background-position:0% 5%} | |
} | |
@keyframes AnimationRolograafBackground { | |
0%{background-position:0% 5%} | |
50%{background-position:100% 96%} | |
100%{background-position:0% 5%} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment