Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS test reference</title>
<style>
div {
position: absolute;
width: 100px;
height: 5px;
background: green;
}
</style>
<body>
<p>Test passes if there is a <strong>horizontal green stripe</strong> below and <strong>no red</strong>.
<div></div>
</body>