Skip to content

Instantly share code, notes, and snippets.

@iffa
Created April 1, 2019 23:32
Show Gist options
  • Save iffa/d41e655783a064ac76fc42a830a6987e to your computer and use it in GitHub Desktop.
Save iffa/d41e655783a064ac76fc42a830a6987e to your computer and use it in GitHub Desktop.
background: linear-gradient(180deg, #fbd3e9, #bb377d, #00c9ff, #92fe9d);
background-size: 800% 800%;
-webkit-animation: mellow-bg 59s ease infinite;
-moz-animation: mellow-bg 59s ease infinite;
-o-animation: mellow-bg 59s ease infinite;
animation: mellow-bg 59s ease infinite;
@-webkit-keyframes mellow-bg {
0%{background-position:50% 0%}
50%{background-position:50% 100%}
100%{background-position:50% 0%}
}
@-moz-keyframes mellow-bg {
0%{background-position:50% 0%}
50%{background-position:50% 100%}
100%{background-position:50% 0%}
}
@-o-keyframes mellow-bg {
0%{background-position:50% 0%}
50%{background-position:50% 100%}
100%{background-position:50% 0%}
}
@keyframes mellow-bg {
0%{background-position:50% 0%}
50%{background-position:50% 100%}
100%{background-position:50% 0%}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment