Animación CSS de rotación infinita

11.04.20

Rotación sin fin del bloque en sentido horario usando animación CSS

.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);
  }
}
blog comments powered by Disqus