Created
November 4, 2013 15:25
-
-
Save mvargasmoran/7304158 to your computer and use it in GitHub Desktop.
¡Asteroid!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* ¡Asteroid! | |
8192 128 | |
*/ | |
@keyframes motion{ | |
from{ background-position: 0 0; } | |
to{ background-position: -8192px 0;} | |
} | |
.animated{ | |
margin: 100px auto; | |
width: 128px; height: 128px; | |
/* border: 1px solid black;http://www.kevinbertel.com/diablo2/sheets/AI-2HS-A1-hd_LIT-tr_LIT-lg_LIT-ra_LIT-la_LIT-s1_LIT-s2_LIT-rh_CLM-lh_0-sh_0-.gif */ | |
background: url("http://commondatastorage.googleapis.com/codeskulptor-assets/asteroid1.opengameart.warspawn.png") 0 0; | |
animation: motion 7s infinite steps(64); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- content to be placed inside <body>…</body> --> | |
<img src="http://commondatastorage.googleapis.com/codeskulptor-assets/asteroid1.opengameart.warspawn.png" /> | |
<div class="animated"></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// alert('Hello world!'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment