+ 1
how I can set multi background color using css ?(animation of background colors)
just animation of background colors
2 Answers
+ 1
exp :
css file :
body{
background-color:white;
animation-name: myAnim;
animation-duration: 4s;
animation-iteration-count: infinite;
}
@keyframes myAnim {
0% {background-color: red;}
25% {background-color: yellow;}
50% {background-color: blue;}
100% {background-color: green;}
}
For more informations check this site :
http://www.w3schools.com/css/css3_animations.asp
+ 1
thxx brooo