Skip to content

Instantly share code, notes, and snippets.

@pushmatrix
Created April 4, 2014 04:25
Show Gist options
  • Save pushmatrix/9968123 to your computer and use it in GitHub Desktop.
Save pushmatrix/9968123 to your computer and use it in GitHub Desktop.
<html>
<head>
<title></title>
<style type="text/css">
img {
-webkit-animation: spin 1s infinite linear;
}
@-webkit-keyframes spin {
0% {-webkit-transform: rotate(0deg)}
12.5% {-webkit-transform: rotate(-90deg)}
25% {-webkit-transform: rotate(0deg)}
37.5% {-webkit-transform: rotate(70deg)}
100% {-webkit-transform: rotate(-360deg)}
}
</style>
</head>
<body>
<img src="loop.png">
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment