Created
July 22, 2013 09:00
-
-
Save macx/6052424 to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s title
This file contains 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: #fff; | |
min-height: 100%; | |
} | |
.container { | |
display: -webkit-flex; | |
background: lightgray; | |
} | |
.box { | |
padding: 10px; | |
background: yellow; | |
} | |
.box1 { | |
background: red; | |
width: 150px; | |
} | |
.box2 { | |
background: orange; | |
flex: 1; | |
} | |
.box3 { | |
background: blue; | |
} | |
.box4 { | |
background: limegreen; | |
} | |
.box5 { | |
background: yellow; | |
width: 150px; | |
} |
This file contains 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> --> | |
<section class="container"> | |
<article class="box box1">BOX 1</article> | |
<article class="box box2">BOX 2</article> | |
<article class="box box3">BOX 3</article> | |
<article class="box box4">BOX 4</article> | |
<article class="box box5">BOX 5</article> | |
</section> |
This file contains 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 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-vertical","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