Created
February 27, 2017 05:11
-
-
Save anonymous/2a7da38d12de572482decc44fe4e4e2f 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(108deg, #3e98d5, #fabc05); | |
background-size: 400% 400%; | |
-webkit-animation: ab-fab 52s ease infinite; | |
-moz-animation: ab-fab 52s ease infinite; | |
-o-animation: ab-fab 52s ease infinite; | |
animation: ab-fab 52s ease infinite; | |
@-webkit-keyframes ab-fab { | |
0%{background-position:0% 48%} | |
50%{background-position:100% 53%} | |
100%{background-position:0% 48%} | |
} | |
@-moz-keyframes ab-fab { | |
0%{background-position:0% 48%} | |
50%{background-position:100% 53%} | |
100%{background-position:0% 48%} | |
} | |
@-o-keyframes ab-fab { | |
0%{background-position:0% 48%} | |
50%{background-position:100% 53%} | |
100%{background-position:0% 48%} | |
} | |
@keyframes ab-fab { | |
0%{background-position:0% 48%} | |
50%{background-position:100% 53%} | |
100%{background-position:0% 48%} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment