Created
December 4, 2012 09:50
-
-
Save Aqro/4202266 to your computer and use it in GitHub Desktop.
Moon Walk du Hater
This file contains hidden or 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
/* | |
* Moon Walk du Hater | |
*/ | |
* {margin: 0; padding: 0;} | |
body { | |
background:#fff; | |
} | |
img { | |
position: absolute; | |
top: 50%; | |
margin-top: -160px; | |
left: 0; | |
-webkit-transition: all 1s ease-in-out; | |
-moz-transition: all 1s ease-in-out; | |
} | |
nav { | |
width: 100px; | |
position: fixed; | |
bottom: 20px; | |
left: 50%; | |
margin-left: -50px; | |
text-align: center; | |
height: 20px; | |
} | |
nav input { | |
width: 30px; | |
} | |
.stp1:checked ~ img { | |
left: 0; | |
} | |
.stp2:checked ~ img { | |
left: 35%; | |
} | |
.stp3:checked + img { | |
left: 60% | |
} |
This file contains hidden or 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 hidden or 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":"html"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment