Skip to content

Instantly share code, notes, and snippets.

@Poltergeist
Created March 28, 2013 15:40
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 Poltergeist/5264179 to your computer and use it in GitHub Desktop.
Save Poltergeist/5264179 to your computer and use it in GitHub Desktop.
load animation
/**
* load animation
*/
.circle{
position:absolute;
border:5px red solid;
border-color:red red transparent transparent;
width:190px;
height:190px;
border-radius:100px 100px 100px 100px;
animation:turn 5s linear;
transform:rotate(45deg);
}
.parent{
position:absolute;
width:200px;
height:200px;
clip:rect(0px,200px,200px,100px);
}
@keyframes turn{
0%{
transform:rotate(-135deg);
}
100%{
transform:rotate(45deg);
}
}
<div class="parent"><div class="circle">&nbsp;</div></div>
// alert('Hello world!');
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment