Created
August 29, 2014 10:26
-
-
Save gustaff-weldon/40c74225112c23a4f4d3 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 | |
*/ | |
.container { | |
height: 300px; | |
width: 300px; | |
border: 10px solid #aaa; | |
position: relative; | |
} | |
.child { | |
position: absolute; | |
width: 20px; | |
height: 20px; | |
background: green; | |
} | |
.tl { top: 0; left: 0; } | |
.tr { top: 0; right: 0; } | |
.bl { bottom: 0; left: 0; } | |
.br { bottom: 0; right: 0; } |
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
<div class="container"> | |
<div class="child tl"></div> | |
<div class="child tr"></div> | |
<div class="child bl"></div> | |
<div class="child br"></div> | |
</div> |
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":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment