back
Code
CSS
HTML
Web
#div269{
height:150px;
width:150px;
background-color:blue;
animation: colours 5s linear infinite;
-webkit-animation: colours 5s linear infinite;
}
@keyframes colours{
0% {background-color:blue;}
25%{background-color:green;}
50%{background-color:red;}
75%{background-color:orange;}
}
@-webkit-keyframes colours{
0% {background-color:blue;}
25%{background-color:green;}
50%{background-color:red;}
75%{background-color:orange;}
}