Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<html>
<meta charset="utf-8">
<title>CSS Multi-column Layout Test Reference: Test a multi-column container with percentage height children</title>
<link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
<link rel="author" title="Mozilla" href="http://www.mozilla.org/">
<style>
article {
width: 400px;
height: 200px;
outline: 1px solid black;
}
div {
height: 25%;
}
div.spanner {
outline: 1px solid blue;
height: 50%;
}
</style>
<article>
<div>block1</div>
<div class="spanner">spanner</div>
<div>block2</div>
</article>
</html>