Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
CSS Gradient Animation
.css-selector {
    background: linear-gradient(19deg, #2ae4ff, #65a8e3, #616fcb, #5d45ba);
    background-size: 800% 800%;
    -webkit-animation: empaer 7s ease infinite;
    -moz-animation: empaer 7s ease infinite;
    -o-animation: empaer 7s ease infinite;
    animation: empaer 7s ease infinite;
}
@-webkit-keyframes empaer {
    0%{background-position:50% 0%}
    50%{background-position:51% 100%}
    100%{background-position:50% 0%}
}
@-moz-keyframes empaer {
    0%{background-position:50% 0%}
    50%{background-position:51% 100%}
    100%{background-position:50% 0%}
}
@-o-keyframes empaer {
    0%{background-position:50% 0%}
    50%{background-position:51% 100%}
    100%{background-position:50% 0%}
}
@keyframes empaer {
    0%{background-position:50% 0%}
    50%{background-position:51% 100%}
    100%{background-position:50% 0%}
}
@daria-ts

This comment has been minimized.

Copy link

@daria-ts daria-ts commented Feb 26, 2021

gradient for landing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment