Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<meta charset="UTF-8">
<title>CSS Reftest reference</title>
<link rel="author" title="GĂ©rard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
<style>
body
{
height: 50vh;
margin: 0px;
}
div#filler-before
{
height: 100vh;
}
div#lime
{
background-color: lime;
height: 25vh;
}
div#purple
{
background-color: purple;
height: 25vh;
}
div#filler-after
{
height: 50vh;
}
</style>
<body onload="window.scroll(0, document.body.offsetHeight);">
<div id="filler-before"></div>
<div id="lime"></div>
<div id="purple"></div>
<div id="filler-after"></div>