생활코딩 - CSS 수업 - 포지셔닝 - example3.html
http://opentutorials.org/course/45/60
by egoing
HTML
<div class="other">
other
</div>
<div class="parent">
parent
<div class="me">
me
</div>
</div>
<div class="other2">
other2
</div>
CSS
.other,.other2,.parent{
border:4px solid green;
margin:5px;
}
.me{
background-color:red;
position:fixed;
}
.other2{
height:1000px;
}