Created
December 14, 2013 23:09
-
-
Save diogotito/7966229 to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s title
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
body{ | |
background: #f06; | |
background: linear-gradient(45deg, #002, #125); | |
min-height: 100%; | |
} | |
@keyframes girar_a_lua { | |
from { background-position: 0px 0px, 0px 0px; } | |
to { background-position: 0px 0px, 500px 0px; } | |
} | |
#lua { | |
position: absolute; | |
width: 200px; | |
height: 200px; | |
margin: auto; | |
top: 0; bottom: 0; left: 0; right: 0; | |
background: blue; | |
background: radial-gradient(150px 50px, 150px 150px, rgba(255,255,255, .9) 0%, rgba(255,255,255, 0.25) 50%, rgba(0,0,0, .9) 100%), | |
0px 0px / 500px 205px url("http://www.space1999.org/gallery/cgi_models_meshes/ae237g/earth-moon_surface2_2500x1250.jpg"); | |
animation: girar_a_lua 4s linear infinite; | |
border-radius: 100px; | |
box-shadow: inset 0px 0px 25px 1px black; | |
} |
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> --> | |
<body> | |
<div id="lua"> | |
</div> | |
</body> |
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":"separate","fontsize":"110","seethrough":"","prefixfree":"1","page":"result"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment