Skip to content

Instantly share code, notes, and snippets.

@IvanaSays
Last active August 9, 2017 12:40
Show Gist options
  • Save IvanaSays/4a8ce784d8a2b02ea65cc29d8e58e185 to your computer and use it in GitHub Desktop.
Save IvanaSays/4a8ce784d8a2b02ea65cc29d8e58e185 to your computer and use it in GitHub Desktop.
7 - Performant Animations
@keyframes spin {
from {transform: rotate(0deg);}
to {transform: rotate(360deg);}
}
.box {
animation-name: spin;
animation-duration: 3ms;
animation-iteration-count: infinite;
animation-timing-function: linear;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment