Skip to content

Instantly share code, notes, and snippets.

@mbround18
Created May 27, 2021 21:49
Show Gist options
  • Save mbround18/e9f1924b4bb1bf46cb6876b40b4c6194 to your computer and use it in GitHub Desktop.
Save mbround18/e9f1924b4bb1bf46cb6876b40b4c6194 to your computer and use it in GitHub Desktop.
@-webkit-keyframes roll {
from { -webkit-transform: rotate(0deg) }
to { -webkit-transform: rotate(360deg) }
}
@-moz-keyframes roll {
from { -moz-transform: rotate(0deg) }
to { -moz-transform: rotate(360deg) }
}
@keyframes roll {
from { transform: rotate(0deg) }
to { transform: rotate(360deg) }
}
body {
-moz-animation-name: roll;
-moz-animation-duration: 4s;
-moz-animation-iteration-count: 1;
-webkit-animation-name: roll;
-webkit-animation-duration: 4s;
-webkit-animation-iteration-count: 1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment