Infinite rotation css animation
Endless rotation of the block clockwise using css animation
.rotated{
animation-name: rotation;
animation-duration: 3s;
animation-iteration-count: infinite;
animation-timing-function: linear;
}
@keyframes rotation {
0% {
transform:rotate(0deg);
}
100% {
transform:rotate(360deg);
}
}