@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@mixin spin {
  animation: spin 1s infinite linear;
}
