Created
November 28, 2013 21:20
-
-
Save wrumsby/7698279 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 { | |
font-family: sans-serif; | |
box-sizing: border-box; | |
} | |
.container { | |
border: 6px solid blue; | |
padding: 10px; | |
position: relative; | |
} | |
.column { | |
border: 6px solid red; | |
padding: 10px; | |
display: inline-block; | |
vertical-align: top; | |
margin-right: 20px; | |
} | |
.column:first-of-type { | |
width: 70%; | |
} | |
.column:last-of-type { | |
margin-right: 0; | |
} | |
.column.secondary { | |
width: 300px; | |
} |
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
<!-- content to be placed inside <body>…</body> --> | |
<p>Aim: only specify the sidebar width.</p> | |
<div class="container"> | |
<div class="column">Major<p>things</p><p>start to</p><p>go weird if heights</p></div> | |
<div class="column secondary">Minor<p>are not the same</p><p>things</p><p>start to</p><p>go weird if heights</p></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":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment