blob: 60a7f8050eef0915800a41e1a394054fc3c3387e [file] [log] [blame]
<!DOCTYPE html>
<!--
| This is a simple relative positioning test which checks that the element
| is offset from its standard in-flow position by specifing right and bottom,
| and does not affect the layout of surrounding elements in the flow.
| https://www.w3.org/TR/CSS21/visuren.html#relative-positioning
-->
<html>
<head>
<style>
.box {
width: 50px;
height: 50px;
background-color: rgb(100, 100, 255);
}
.position-relative {
position: relative;
right: 25px;
bottom: 25px;
background-color: rgb(255, 100, 100);
}
</style>
</head>
<body>
<div class="box"></div>
<div class="box position-relative"></div>
<div class="box"></div>
</body>
</html>