Skip to content

Instantly share code, notes, and snippets.

@revolunet
Created May 23, 2013 12:12
Show Gist options
  • Select an option

  • Save revolunet/5635638 to your computer and use it in GitHub Desktop.

Select an option

Save revolunet/5635638 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
*/
body, html {
height:100%;
}
.d1 {
top:200px;
width:30%;
height:300px;
background:pink;
vertical-align:bottom;
display: inline-block;
}
.d2 {
width:100%;
background:red;
vertical-align:bottom;
}
<!-- content to be placed inside <body>…</body> -->
<div class="d1">
<div class="d2">blabalbla
</div>
</div>
// alert('Hello world!');
{"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