Created
July 27, 2016 21:58
-
-
Save anonymous/e01ec33d66db2a3d8a4b7dea7680dfed to your computer and use it in GitHub Desktop.
CSS Gradient Animation
This file contains hidden or 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(72deg, #004276, #08082d); | |
background-size: 400% 400%; | |
-webkit-animation: AnimationName 16s ease infinite; | |
-moz-animation: AnimationName 16s ease infinite; | |
-o-animation: AnimationName 16s ease infinite; | |
animation: AnimationName 16s ease infinite; | |
@-webkit-keyframes AnimationName { | |
0%{background-position:0% 78%} | |
50%{background-position:100% 23%} | |
100%{background-position:0% 78%} | |
} | |
@-moz-keyframes AnimationName { | |
0%{background-position:0% 78%} | |
50%{background-position:100% 23%} | |
100%{background-position:0% 78%} | |
} | |
@-o-keyframes AnimationName { | |
0%{background-position:0% 78%} | |
50%{background-position:100% 23%} | |
100%{background-position:0% 78%} | |
} | |
@keyframes AnimationName { | |
0%{background-position:0% 78%} | |
50%{background-position:100% 23%} | |
100%{background-position:0% 78%} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Biosynthage nav gradient.