Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<html>
<head>
<title>CSS Reftest Reference</title>
<link rel="author" title="Clint Talbert" href="mailto:ctalbert@mozilla.com">
<link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name">
<style>
body > div {
background: green;
height: 100px;
width: 100px;
}
span {
background: yellow;
}
body > div > div {
position: relative;
top: 150px;
left: 20px;
}
</style>
</head>
<body>
<div>
<div><span>span 1</span></div>
</div>
<span>span 2</span>
</body>
</html>