Skip to content

Instantly share code, notes, and snippets.

/dabblet.css

Created Jun 20, 2012
Embed
What would you like to do?
Untitled
html {
/* Commenting out this stops the red div from filling vertically. WTF? */
height: 100%;
}
body {
height: 100%;
background-color: blue;
}
div.red {
height: 100%;
background-color: #600;
}
div.green {
background-color: green;
height: 100px;
}
<div class='red'>
<div class='green'>&nbsp;</div>
</div>
{"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