Created
August 18, 2017 00:50
-
-
Save anonymous/fde88d951a6f0748ac848ed440ee9ac7 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(320deg, #000000, #000000, #5785b8, #374a5f, #0e2b4d, #5785b8, #000000); | |
background-size: 1400% 1400%; | |
-webkit-animation: blvkGradientBG 45s ease infinite; | |
-moz-animation: blvkGradientBG 45s ease infinite; | |
-o-animation: blvkGradientBG 45s ease infinite; | |
animation: blvkGradientBG 45s ease infinite; | |
@-webkit-keyframes blvkGradientBG { | |
0%{background-position:11% 0%} | |
50%{background-position:90% 100%} | |
100%{background-position:11% 0%} | |
} | |
@-moz-keyframes blvkGradientBG { | |
0%{background-position:11% 0%} | |
50%{background-position:90% 100%} | |
100%{background-position:11% 0%} | |
} | |
@-o-keyframes blvkGradientBG { | |
0%{background-position:11% 0%} | |
50%{background-position:90% 100%} | |
100%{background-position:11% 0%} | |
} | |
@keyframes blvkGradientBG { | |
0%{background-position:11% 0%} | |
50%{background-position:90% 100%} | |
100%{background-position:11% 0%} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment