[css] div 레이어 겹치기 사용
본문
<div style="position:relative; top:0px; left:0px; width:100px; height:100px; overflow:hidden;">
<div style='position:absolute; top:0px; left:0px; z-index:1;'>1</div>
<div style='position:absolute; top:0px; left:0px; z-index:2;'>2</div>
<div style='position:absolute; top:0px; left:0px; z-index:3;'>3</div>
<div style='position:absolute; top:0px; left:0px; z-index:4;'>4</div>
</div>
<div style='position:absolute; top:0px; left:0px; z-index:1;'>1</div>
<div style='position:absolute; top:0px; left:0px; z-index:2;'>2</div>
<div style='position:absolute; top:0px; left:0px; z-index:3;'>3</div>
<div style='position:absolute; top:0px; left:0px; z-index:4;'>4</div>
</div>
추천0
댓글목록 0
등록된 댓글이 없습니다.