Skip to content

Instantly share code, notes, and snippets.

@hkongm
Created August 29, 2013 08:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hkongm/6375684 to your computer and use it in GitHub Desktop.
Save hkongm/6375684 to your computer and use it in GitHub Desktop.
CSS3效果
#pullBar .fi-loop {
display:inline-block;
-moz-animation:rotate 2s linear infinite;
-webkit-animation:rotate 2s linear infinite;
animation:rotate 2s linear infinite;
}
@-moz-keyframes rotate {
0% {
-moz-transform:rotate(0deg);
}
100% {
-moz-transform:rotate(360deg);
}
}
@-webkit-keyframes rotate {
0% {
-webkit-transform:rotate(0deg);
}
100% {
-webkit-transform:rotate(360deg);
}
}
@keyframes rotate {
0% {
-webkit-transform:rotate(0deg);
}
100% {
-webkit-transform:rotate(360deg);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment