Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Reference</title>
<style>
div {
height: 1.5in;
width: 100px;
}
.orange {
background: orange;
}
.blue {
background: blue;
width: 50px;
float: right;
}
</style>
<body>
<p>Test passes if the orange and blue boxes below are the same height.</p>
<div class="orange"><div class="blue"></div></div>
</body>