Skip to content

Instantly share code, notes, and snippets.

@przemek-jablonski
Created September 10, 2016 17:02
Show Gist options
  • Save przemek-jablonski/2a2f2d70ac6953eedcb4e48a6b618bdf to your computer and use it in GitHub Desktop.
Save przemek-jablonski/2a2f2d70ac6953eedcb4e48a6b618bdf to your computer and use it in GitHub Desktop.
background: linear-gradient(213deg, #d3b7d5, #d5b7b7, #d5cfb7, #bbe1de, #ddb9c0, #c5c5c5);
background-size: 1200% 1200%;
-webkit-animation: GradientBackgroundAnimation 60s ease infinite;
-moz-animation: GradientBackgroundAnimation 60s ease infinite;
-o-animation: GradientBackgroundAnimation 60s ease infinite;
animation: GradientBackgroundAnimation 60s ease infinite;
@-webkit-keyframes GradientBackgroundAnimation {
0%{background-position:50% 0%}
50%{background-position:50% 100%}
100%{background-position:50% 0%}
}
@-moz-keyframes GradientBackgroundAnimation {
0%{background-position:50% 0%}
50%{background-position:50% 100%}
100%{background-position:50% 0%}
}
@-o-keyframes GradientBackgroundAnimation {
0%{background-position:50% 0%}
50%{background-position:50% 100%}
100%{background-position:50% 0%}
}
@keyframes GradientBackgroundAnimation {
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