Source code
Revision control
Copy as Markdown
Other Tools
<html>
<style>
.anchor {
position: absolute;
width: 50px;
height: 50px;
background: blue;
left: 0;
top: 50px;
}
.anchored {
position: absolute;
width: 50px;
height: 50px;
background: yellow;
left: 50px;
top: 100px;
}
</style>
<div class="anchor"></div>
<div class="anchored"></div>
</html>