Created
July 21, 2019 12:14
-
-
Save ilhamgusti/017139a278705d1a6d560e2ca0290f07 to your computer and use it in GitHub Desktop.
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(270deg, #b012f9, #2935ea, #25e399); | |
background-size: 600% 600%; | |
-webkit-animation: .bg-a-gradient 15s ease infinite; | |
-moz-animation: .bg-a-gradient 15s ease infinite; | |
-o-animation: .bg-a-gradient 15s ease infinite; | |
animation: .bg-a-gradient 15s ease infinite; | |
@-webkit-keyframes .bg-a-gradient { | |
0%{background-position:0% 50%} | |
50%{background-position:100% 50%} | |
100%{background-position:0% 50%} | |
} | |
@-moz-keyframes .bg-a-gradient { | |
0%{background-position:0% 50%} | |
50%{background-position:100% 50%} | |
100%{background-position:0% 50%} | |
} | |
@-o-keyframes .bg-a-gradient { | |
0%{background-position:0% 50%} | |
50%{background-position:100% 50%} | |
100%{background-position:0% 50%} | |
} | |
@keyframes .bg-a-gradient { | |
0%{background-position:0% 50%} | |
50%{background-position:100% 50%} | |
100%{background-position:0% 50%} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment