<!DOCTYPE html>
<html>
	<head>
		<title>Vanishing Act</title>
        <link rel='stylesheet' type='text/css' href='stylesheet.css'/>
        <script type='text/javascript' src='script.js'></script>
	</head>
	<body>
	    <img class="sun" src="http://i.imgur.com/oZKKhTQ.jpg"></div>
        <div class="earth-orbit">
            <img class="earth" src="http://i.imgur.com/TCfyMtj.jpg" />
        </div>
	</body>
</html>
html {
    background-color: #050714;
}

.sun {
    height: 100px;
    width: 100px;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -50px;
    margin-top: -50px;
    -webkit-box-shadow: rgb(204, 153, 0) 0px 0px 50px 0px;
    border-radius: 50px;
}

.earth-orbit {
    -webkit-animation: spin-right 10s linear infinite;
    position: absolute;
    height: 200px;
    width: 200px;
    top: 50%;
    left: 50%;
    border-radius: 100px;
    border: 1px solid white;
    margin-left: -100px;
    margin-top: -100px;
}

.earth {
    height: 50px;
    width: 50px;
    -webkit-animation: spin-left 8s linear infinite;
}

@-webkit-keyframes spin-right { 100% { -webkit-transform: rotate(360deg); } }

@-webkit-keyframes spin-left { 100% { -webkit-transform: rotate(-360deg); } }
$(document).ready(function() {
    $().click(function() {
        
    });
});

Browse more Codebits