Created
December 13, 2012 13:20
-
-
Save MizR/4276353 to your computer and use it in GitHub Desktop.
Untitled
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
body { | |
background: url(http://farm3.static.flickr.com/2320/2119636183_cc84ba6efc_b.jpg) top no-repeat; | |
background-size:cover; | |
} | |
@keyframes moon { | |
from { transform:rotate(00deg); color:#c0c0c0; } | |
50% { transform: translateY(-520px); } | |
to { transform: translateX(320px);} | |
} | |
.moon { | |
animation: 250s moon infinite; | |
height:100px; | |
width:100px; | |
border-radius: 50%; | |
margin:auto; | |
margin-top: 350px; | |
background: url(http://i.imgur.com/lPyvooi.png) center no-repeat; | |
} | |
@keyframes ball1 { | |
from { transform:rotate(00deg); color:#c0c0c0; } | |
30% { left: 100px; transform:translateY(100px); } | |
50% { l: 1px; transform:translateY(20px); } | |
to { transform:rotate(00deg); color:#c0c0c0; } | |
} | |
.ball1 { | |
float:left; | |
animation: 55.5s ball1 infinite; | |
height:5px; | |
width:5px; | |
border-radius: 50%; | |
margin:auto; | |
top: 50px; | |
position:absolute; | |
margin-left:15px; | |
background: #fff; | |
} |
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
<div class="moon"></div> | |
<div class="ball1"></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":"130","seethrough":"","prefixfree":"1","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment