Skip to content

Instantly share code, notes, and snippets.

.css-selector {
    background: linear-gradient(270deg, #18181b, #a3a3a3);
    background-size: 400% 400%;
    -webkit-animation: zetroubg 30s ease infinite;
    -moz-animation: zetroubg 30s ease infinite;
    -o-animation: zetroubg 30s ease infinite;
    animation: zetroubg 30s ease infinite;
}
@-webkit-keyframes zetroubg {
    0%{background-position:0% 50%}