loader
by hxtpoe
HTML
<svg height="300" width="300" style="background: grey;">
<circle cx="50" cy="50" r="30" stroke="black" stroke-width="0" fill="black" />
<circle cx="150" cy="50" r="25" stroke="black" stroke-width="0" fill="black" />
<circle cx="250" cy="50" r="20" stroke="black" stroke-width="0" fill="black" />
<circle cx="50" cy="150" r="35" stroke="black" stroke-width="0" fill="black" />
<circle cx="150" cy="150" r="30" stroke="black" stroke-width="0" fill="black" />
<circle cx="250" cy="150" r="20" stroke="black" stroke-width="0" fill="black" />
<circle cx="50" cy="250" r="40" stroke="black" stroke-width="0" fill="black" />
<circle cx="150" cy="250" r="35" stroke="black" stroke-width="0" fill="black" />
<circle cx="250" cy="250" r="30" stroke="black" stroke-width="0" fill="black" />
</svg>
CSS
@keyframes example {
0% {background-color: red;}
25% {background-color: yellow;}
50% {background-color: blue;}
100% {background-color: green;}
}
divv {
width: 100px;
height: 100px;
background-color: red;
animation-name: example;
animation-duration: 4s;
}