mirror of
https://github.com/servo/servo.git
synced 2025-06-23 16:44:33 +01:00
45 lines
No EOL
973 B
HTML
45 lines
No EOL
973 B
HTML
<!DOCTYPE html>
|
|
<html><head>
|
|
<title>CSS Reference File</title>
|
|
<link href="mailto:rhauck@adobe.com" rel="author" title="Rebecca Hauck">
|
|
<style>
|
|
body {
|
|
margin: 0;
|
|
}
|
|
.line {
|
|
position: absolute;
|
|
top: 60px;
|
|
width: 2px;
|
|
height: 200px;
|
|
border-left: 2px solid blue;
|
|
}
|
|
.right {
|
|
left: 220px;
|
|
}
|
|
.left {
|
|
left: 60px;
|
|
}
|
|
.top {
|
|
top: 90px;
|
|
left: 180px;
|
|
}
|
|
.bottom {
|
|
top: 170px;
|
|
left: 60px;
|
|
}
|
|
.square {
|
|
position: absolute;
|
|
width: 40px;
|
|
height: 40px;
|
|
background-color: green;
|
|
}
|
|
</style></head>
|
|
|
|
<body>
|
|
<p>The test passes if there there are two green squares between the blue lines. There should be no red.</p>
|
|
<div class="bottom square"></div>
|
|
<div class="top square"></div>
|
|
<div class="left line"></div>
|
|
<div class="right line"></div>
|
|
|
|
</body></html> |