You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
313 B
CSS

5 years ago
#myElement {
margin: 0;
width: 100%;
height: 100vh;
background: linear-gradient(-45deg, green, orange, blue);
background-size: 400% 400%;
animation: none;
}
@keyframes gradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}