Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<style>
span {
height: 100px;
width: 100px;
background: green;
position: fixed;
top: 50px;
}
div {
height: 100px;
width: 100px;
background: blue;
}
#first {
}
#second {
position: fixed;
}
</style>
<span></span>
<div id="first"></div>
<div id="second"></div>