Created
December 4, 2012 14:02
-
-
Save Aqro/4204197 to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s title
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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
body { | |
background: white; | |
padding: 0; | |
margin: 0; | |
} | |
.sep { | |
z-index: -1; | |
background: black; | |
position: absolute; | |
right: 0; | |
top: 0; | |
bottom: 0; | |
left: 50%; | |
-webkit-transition: all .5s ease-in-out; | |
} | |
.parent { | |
width: 100px; | |
height: 200px; | |
position: absolute; | |
top: 50px; | |
background: red; | |
cursor: pointer; | |
} | |
.maman { | |
left: 100px; | |
} | |
.papa { | |
right: 100px; | |
} | |
.maman:hover + .sep { | |
left: 25%; | |
} | |
.papa + .sep { | |
left: | |
75%; | |
} |
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