Skip to content

Instantly share code, notes, and snippets.

@ntlk
Created April 27, 2012 10:32
Show Gist options
  • Save ntlk/2508245 to your computer and use it in GitHub Desktop.
Save ntlk/2508245 to your computer and use it in GitHub Desktop.
Flying a plane
/**
* Flying a plane
*/
#fly {
width: 300px;
background: #cacaca;
position: fixed;
right: -300px;
animation: fly 8s ease-in;
}
@keyframes fly {
0% { right: -30%; }
100% { right: 70%; }
}
<div id="fly">Hiya, I'm a flying div!</div>
{"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