<!-- https://opentutorials.org/module/2367/13414 의 예제 -->
<div id="other">other</div>
<div id="grand">
grand
<div id="parent">
parent
<div id="me">me</div>
</div>
</div>
#parent, #other, #grand{
border:5px solid tomato;
}
#grand{
position: relative;
}
#me{
background-color: black;
color:white;
position: absolute;
left:0;
top:0;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.