Skip to content

Instantly share code, notes, and snippets.

@gustaff-weldon
Last active August 29, 2015 14:15
Show Gist options
  • Save gustaff-weldon/658a59d3d461f1309118 to your computer and use it in GitHub Desktop.
Save gustaff-weldon/658a59d3d461f1309118 to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
.wrapper {
height: 500px;
background: #f3f3f3;
width: 1200px;
margin: 20px auto;
display: flex;
justify-content:space-between;
}
.wrapper-secondary {
background: #dedede;
}
section {
width: 732px;
background: #bbb;
}
aside {
background: #aeaeae;
width: 408px;
}
.vertical-stack {
display: flex;
flex-direction: column;
}
.box {
height: 50px;
background: green;
margin-bottom: 20px;
}
.box-full {
background: yellow;
flex-grow: 1;
}
<article class="wrapper">
<section class="vertical-stack">
<div class="box">This is placholder for breadcrumbs, it's not fixed in this version</div>
<div class="box-full">This is section which expands till the end of container even though it does not have enough content.</div>
</section>
<aside>Comments</aside>
</article>
// alert('Hello world!');
{"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